ElementId.TryParse
Method
Description:
Parse the string representation of the id into a corresponding ElementId.
Parse the string representation of the id into a corresponding ElementId.
Remarks:
If the string represents [!:Autodesk::Revit::DB::Element::InvalidElementId] the id will contain it upon return. If the parse fails, the id will be undefined.
If the string represents [!:Autodesk::Revit::DB::Element::InvalidElementId] the id will contain it upon return. If the parse fails, the id will be undefined.