Element.IsPhaseDemolishedValid
Method
Description:
Returns true if demolishedPhaseId is an allowed value for the property DemolishedPhaseId in this Element.
Returns true if demolishedPhaseId is an allowed value for the property DemolishedPhaseId in this Element.
Remarks:
Acts as a validator for setting the property DemolishedPhaseId.
Acts as a validator for setting the property DemolishedPhaseId.
Parameters
| Parameter | Type | Description |
|---|---|---|
| demolishedPhaseId | ElementId | The id of a Phase or invalidElementId. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if demolishedPhaseId is an allowed value for the property DemolishedPhaseId in this Element, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |