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()

Return Value

ElementId
The category id.
See Also