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

Categories.Insert

Method
Description:
Inserts the specified category with the specified name into the map.
Syntax
public override bool Insert(
	string key,
	Category item
)
Parameters
Parameter Type Description
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
Type Description
Boolean Whether or not the category was inserted into the map.
Exceptions
Exception Condition
InvalidOperationException Always thrown; this list is read only.