2025 Class
Changes 0
C

Definitions

Description:
A base class that supports the addition of new parameter definitions.
Remarks:
There are two derivations of this class, one of which handles external parameters and another which handles internal parameters.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Definitions
    Autodesk.Revit.DB.ExternalDefinitions
    Autodesk.Revit.DB.InternalDefinitions
public class Definitions : IEnumerable<Definition>, 
	IDisposable
Name Return Type Description Inherited From
C Definitions() None Constructs an empty set of parameter definitions.
Name Return Type Description Inherited From
M Contains(Definition) Boolean Tests for the existence of a definition within the set.
M Create(ExternalDefinitionCreationOptions) Definition Creates a new parameter definition using specified options.
M Dispose() None Releases all resources used by the Definitions
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<Definition> 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 definitions collection is empty.
P Item Definition Retrieves a definition by a given name.
P Size int The number of definitions in the collection.