DisplacementElement.CanCategoryBeDisplaced
Method
Description:
Indicates whether elements of the specified category are eligible as displaced elements.
Indicates whether elements of the specified category are eligible as displaced elements.
Remarks:
Elements may be disallowed as displaced elements for reasons other than their category.
Elements may be disallowed as displaced elements for reasons other than their category.
Parameters
| Parameter | Type | Description |
|---|---|---|
| categoryId | ElementId | Category id of element to be replaced. |
Return Value
| Type | Description |
|---|---|
| Boolean | Returns true if elements of this category can be displaced, and false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |