ElementClassFilter Members

The ElementClassFilter type exposes the following members.

Constructors

  NameDescription
Public methodElementClassFilter(Type)
Constructs a new instance of a filter to match elements by class.
Public methodElementClassFilter(Type, Boolean)
Constructs a new instance of a filter to match elements by class, with the option to match all elements which are not of the given class.

Methods

  NameDescription
Public methodDispose (Inherited from ElementFilter.)
Public methodEquals (Inherited from Object.)
Public methodGetElementClass
The class for the 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