2026 Class
Changes 0
C

DefinitionGroups

Description:
A specialized set of definition groups that allows creation of new groups.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DefinitionGroups
public class DefinitionGroups : IEnumerable<DefinitionGroup>, 
	IDisposable
Name Return Type Description Inherited From
M Contains(DefinitionGroup) Boolean Tests for the existence of a definition group within the collection.
M Create(String) DefinitionGroup Create a new parameter definition group using the name provided.
M Dispose() None Releases all resources used by the DefinitionGroups
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() IEnumerator<DefinitionGroup> Retrieves an enumerator to the collection.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsEmpty bool Identifies if the definition groups collection is empty.
P Item DefinitionGroup Retrieve a definition group by name.
P Size int The number of definition groups in the collection.