Parse the string representation of the id into a corresponding ElementId.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static bool TryParse( string idStr, out ElementId id )
Parameters
- idStr String
- The string representation of the id to return.
- id ElementId%
- Out parameter set to the ElementId represented by the string.
Return Value
Booleantrue if the string was successfully parsed into an ElementId, false otherwise.