Insert the specified category with the specified name into the map.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public virtual bool Insert( string key, Category item )
Parameters
- key String
- The name to be used for inserting the category into the map.
- item Category
- The category to be inserted into the map.
Return Value
BooleanReturns whether the category was inserted into the map.