CategoryNameMap
Description:
A map that contains a mapping of category name to its category object.
A map that contains a mapping of category name to its category object.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.CategoryNameMap
Autodesk.Revit.DB.Categories
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.CategoryNameMap
Autodesk.Revit.DB.Categories
public class CategoryNameMap : APIObject,
IEnumerable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CategoryNameMap() | None | Initializes a new instance of the class |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Clear() | None | Removes every category from the map, rendering it empty. | |
| Contains(String) | bool | Tests for the existence of a category with that name within the map. | |
| Erase(String) | int | Removes a category with the specified name from the map. | |
| ForwardIterator() | CategoryNameMapIterator | Retrieve a forward moving iterator to the map. | |
| GetEnumerator() | IEnumerator | Retrieve a forward moving iterator to the map. | |
| Insert(String, Category) | bool | Insert the specified category with the specified name into the map. | |
| ReverseIterator() | CategoryNameMapIterator | Retrieve a backward moving iterator to the map. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsEmpty | bool | Test to see if the map is empty. | |
| Item | Category | Gets or sets a category at a specified name within the map. | |
| Size | int | Returns the number of categories that are in the map. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |