Definitions
Description:
A base class that supports the addition of new parameter definitions.
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.
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
System.Object
Autodesk.Revit.DB.Definitions
Autodesk.Revit.DB.ExternalDefinitions
Autodesk.Revit.DB.InternalDefinitions
public class Definitions : IEnumerable<Definition>,
IDisposable
| Name | Return Type | Description |
|---|---|---|
| Definitions() | None | Constructs an empty set of parameter definitions. |
| Name | Return Type | Description |
|---|---|---|
| Contains(Definition) | bool | Tests for the existence of a definition within the set. |
| Create(ExternalDefinitionCreationOptions) | nullNothingnullptr | Creates a new parameter definition using specified options. |
| Dispose() | None | Releases all resources used by the |
| GetBasicIEnumerator() | IEnumerator | Returns an enumerator that iterates through a collection. |
| GetEnumerator() | The enumerator. | Retrieves an enumerator to the collection. |
| Name | Return Type | Description |
|---|---|---|
| IsEmpty | bool | Identifies if the definitions collection is empty. |
| Item | Definition | Retrieves a definition by a given name. |
| Size | int | The number of definitions in the collection. |