RVTDocs.com

ElementCategoryFilter(ElementId)

Constructor
Description:
Constructs a new instance of a filter to match elements by category.
Syntax
public ElementCategoryFilter(
	ElementId categoryId
)
Parameters
Parameter Type Description
categoryId ElementId The category id to match.
Return Value
Exceptions
Exception Condition
ArgumentException The category was not valid for filtering.
ArgumentNullException A non-optional argument was null