RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FilterRule

FilterRule.ElementPasses

Method
Description:
Derived classes override this method to implement the test that determines whether the given element passes this rule or not.
Syntax
public bool ElementPasses(
	Element element
)
Parameters
Parameter Type Description
element Element The element to test against the rule.
Return Value
Type Description
Boolean True if the element satisfies the rule, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null