ElementMulticategoryFilter Members

The ElementMulticategoryFilter type exposes the following members.

Constructors

  NameDescription
Public methodElementMulticategoryFilter(ICollection<(Of <<'(BuiltInCategory>)>>))
Constructs a new instance of a filter to match elements by built-in category.
Public methodElementMulticategoryFilter(ICollection<(Of <<'(ElementId>)>>))
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories.
Public methodElementMulticategoryFilter(ICollection<(Of <<'(BuiltInCategory>)>>), Boolean)
Constructs a new instance of a filter to match elements by built-in category, with the option to match all elements which are not of the given category.
Public methodElementMulticategoryFilter(ICollection<(Of <<'(ElementId>)>>), Boolean)
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories, with the option to instead match elements which are not of the given categories.

Methods

  NameDescription
Public methodDispose (Inherited from ElementFilter.)
Public methodEquals (Inherited from Object.)
Public methodGetCategoryIds
Gets the category ids assigned to this filter.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodPassesFilter(Element)
Applies the filter to a given element.
(Inherited from ElementFilter.)
Public methodPassesFilter(Document, ElementId)
Applies the filter to a given element.
(Inherited from ElementFilter.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyInverted
True if the results of the filter are inverted; elements that would normally be accepted by this filter will be rejected, and elements that would normally be rejected will be accepted.
(Inherited from ElementFilter.)
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ElementFilter.)

See Also