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

Element.GetTypeId

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