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

Element.Category

Property
Description:
Retrieves a Category object that represents the category or sub category in which the element resides.
Remarks:
All category objects can be retrieved from the application by using the Categories property of the Application.Settings object.
Syntax
public Category Category { get; }