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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetElementClass
The class for the filter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(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