DefinitionGroups Class

A specialized set of definition groups that allows creation of new groups.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBDefinitionGroups

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DefinitionGroups : IEnumerable<DefinitionGroup>, 
	IDisposable

The DefinitionGroups type exposes the following members.

Properties
 NameDescription
Public propertyIsEmptyIdentifies if the definition groups collection is empty.
Public propertyItemRetrieve a definition group by name.
Public propertySizeThe number of definition groups in the collection.
Top
Methods
 NameDescription
Public methodContainsTests for the existence of a definition group within the collection.
Public methodCreateCreate a new parameter definition group using the name provided.
Public methodDisposeReleases all resources used by the DefinitionGroups
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodGetBasicIEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetEnumeratorRetrieves an enumerator to the collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also