Share

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 CategoryNameMap.Contains(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 CategoryNameMap.ForwardIterator())
Public methodGetEnumeratorRetrieves a forward moving iterator to the map.
(Overrides CategoryNameMap.GetEnumerator())
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 CategoryNameMap.Insert(String, Category))
Public methodCode exampleNewSubcategoryAdd a new subcategory into the Autodesk Revit document.
Public methodReverseIteratorRetrieves a backward moving iterator to the map.
(Overrides CategoryNameMap.ReverseIterator())
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?