ElementRecordGetCategoryId Method

Gets the category id of the element record.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId GetCategoryId()

Return Value

ElementId
The category id.
See Also