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

Element.IsPhaseCreatedValid

Method
Description:
Returns true if createdPhaseId is an allowed value for the property CreatedPhaseId in this Element.
Remarks:
Acts as a validator for setting the property CreatedPhaseId.
Syntax
public bool IsPhaseCreatedValid(
	ElementId createdPhaseId
)
Parameters
Parameter Type Description
createdPhaseId ElementId The id of a Phase.
Return Value
Type Description
Boolean True if createdPhaseId is an allowed value for the property CreatedPhaseId in this Element, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null