< Rev API Docs

Categories Methods

The Categories type exposes the following members.

Methods
 NameDescription
Public methodClearRemoves every category from the map, rendering it empty.
(Inherited from CategoryNameMap)
Public methodContainsIdentifies if a category which has the specified name is in the list of top-level categories.
(Overrides CategoryNameMapContains(String))
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEraseRemoves a category with the specified name from the map.
(Inherited from CategoryNameMap)
Public methodForwardIteratorRetrieves a forward moving iterator to the map.
(Overrides CategoryNameMapForwardIterator)
Public methodGetEnumeratorRetrieves a forward moving iterator to the map.
(Overrides CategoryNameMapGetEnumerator)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInsertInserts the specified category with the specified name into the map.
(Overrides CategoryNameMapInsert(String, Category))
Public methodNewSubcategoryAdd a new subcategory into the Autodesk Revit document.
Public methodReverseIteratorRetrieves a backward moving iterator to the map.
(Overrides CategoryNameMapReverseIterator)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also