ElementCategoryFilter(ElementId, Boolean)
Description:
Constructs a new instance of a filter to match elements by category, with the option to match all elements which are of the given category.
Constructs a new instance of a filter to match elements by category, with the option to match all elements which are of the given category.
Overloads (4):
ElementCategoryFilter(ElementId,Boolean)
public ElementCategoryFilter(
ElementId categoryId,
bool inverted
)
-
categoryIdThe category id to match.
-
BooleaninvertedTrue if the filter should match all elements which are not of the given category.
-
The category was not valid for filtering.
-
A non-optional argument was null