ElementFilter.PassesFilter(Document, ElementId)
Method
Description:
Applies the filter to a given element.
Applies the filter to a given element.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
id | ElementId | The element id. |
Return Value
Type | Description |
---|---|
Boolean | True if the element is accepted by the filter. False if the element is rejected. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |