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

Categories.Item(String)

Property
Description:
Gets a category which has the specified name from this list of top-level categories.
Syntax
public override Category this[
	string name
] { get; set; }
Parameters
Parameter Type Description
name String The name of the category to be retrieved.
Return Value
Exceptions
Exception Condition
InvalidOperationException Thrown when the category list does not contain the category with this name. Thrown when trying to set an item to this list of categories; this list is read only.