The Categories type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Clear | Removes every category from the map, rendering it empty. (Inherited from CategoryNameMap.) | |
| Contains | Identifies if a category which has the specified name is in the list of top-level categories. (Overrides CategoryNameMapContains(String).) | |
| Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Erase | Removes a category with the specified name from the map. (Inherited from CategoryNameMap.) | |
| ForwardIterator | Retrieves a forward moving iterator to the map. (Overrides CategoryNameMapForwardIterator.) | |
| GetEnumerator | Retrieves a forward moving iterator to the map. (Overrides CategoryNameMapGetEnumerator.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Insert | Inserts the specified category with the specified name into the map. (Overrides CategoryNameMapInsert(String, Category).) | |
| NewSubcategory | Add a new subcategory into the Autodesk Revit document. | |
| ReverseIterator | Retrieves a backward moving iterator to the map. (Overrides CategoryNameMapReverseIterator.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| IsEmpty | Whether or not the list of top-level categories is empty. (Overrides CategoryNameMapIsEmpty.) | |
| IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject.) | |
| ItemString | Gets a category which has the specified name from this list of top-level categories. (Overrides CategoryNameMapItemString.) | |
| ItemBuiltInCategory | Retrieves a category object corresponding to a BuiltInCategory id. | |
| Size | The total number of top-level categories in the document. (Overrides CategoryNameMapSize.) |