ElementRecord.GetCategoryId Method

ElementRecordGetCategoryId Method

Gets the category id of the element record.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementId GetCategoryId()
Public Function GetCategoryId As ElementId
public:
ElementId^ GetCategoryId()
member GetCategoryId : unit -> ElementId 

Return Value

ElementId
The category id.
See Also