ElementMulticategoryFilter(ICollection<ElementId>)
Constructor
Description:
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories.
Constructs a new instance of a filter to find elements whose category matches any of a given set of categories.
Parameters
| Parameter | Type | Description |
|---|---|---|
| categoryIds | ICollection | The category ids to match. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | One or more categories was not valid for filtering. |
| ArgumentNullException | A non-optional argument was null |