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

Category.GetCategory(Document, ElementId)

Method
Description:
Retrieves a category object corresponding to the category id.
Syntax
public static Category GetCategory(
	Document document,
	ElementId categoryId
)
Parameters
Parameter Type Description
document Document The document.
categoryId ElementId An category id.
Return Value
Type Description
Category Returns a category object corresponding to the category id.