The Categories type exposes the following members.

Methods

  NameDescription
Public methodClear
Removes every category from the map, rendering it empty.
(Inherited from CategoryNameMap.)
Public methodContains
Identifies if a category which has the specified name is in the list of top-level categories.
(Overrides CategoryNameMap..::..Contains(String).)
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodErase
Removes a category with the specified name from the map.
(Inherited from CategoryNameMap.)
Public methodForwardIterator
Retrieves a forward moving iterator to the map.
(Overrides CategoryNameMap..::..ForwardIterator()()()().)
Public methodGetEnumerator
Retrieves a forward moving iterator to the map.
(Overrides CategoryNameMap..::..GetEnumerator()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Inserts the specified category with the specified name into the map.
(Overrides CategoryNameMap..::..Insert(String, Category).)
Public methodNewSubcategory
Add a new subcategory into the Autodesk Revit document.
Public methodReverseIterator
Retrieves a backward moving iterator to the map.
(Overrides CategoryNameMap..::..ReverseIterator()()()().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsEmpty
Whether or not the list of top-level categories is empty.
(Overrides CategoryNameMap..::..IsEmpty.)
Public propertyIsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject.)
Public propertyItem[([( String])])
Gets a category which has the specified name from this list of top-level categories.
(Overrides CategoryNameMap..::..Item[([( String])]) .)
Public propertyItem[([( BuiltInCategory])])
Retrieves a category object corresponding to a BuiltInCategory id.
Public propertySize
The total number of top-level categories in the document.
(Overrides CategoryNameMap..::..Size.)

See Also