RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.IsPhaseDemolishedValid

Method
Description:
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.
Syntax
public bool IsPhaseDemolishedValid(
	ElementId 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