Retrieves a category object corresponding to a BuiltInCategory id. 
   Namespace:   Autodesk.Revit.DB  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0) 
  Since:  2016 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- document
-  Type:  Autodesk.Revit.DB Document  
 The document.
- categoryId
-  Type:  Autodesk.Revit.DB BuiltInCategory  
 A build in category id.