Element.GetTypeId
Description:
Returns the identifier of this element's type.
Returns the identifier of this element's type.
Remarks:
Some elements cannot have type assigned, in which case this method returns invalid element id.
Some elements cannot have type assigned, in which case this method returns invalid element id.
public ElementId GetTypeId()
ElementId
The id of the element's type, or invalid element id if the element cannot have type assigned.