The Definition object is a base object for all type of parameter definitions within the Autodesk Revit API.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.Definition
Autodesk.Revit.DB.ExternalDefinition
Autodesk.Revit.DB.InternalDefinition
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public abstract class Definition
The Definition type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Name | The user visible name for the parameter. |
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetDataType | Gets a ForgeTypeId identifying the data type describing values of the parameter. | |
| GetGroupTypeId | Returns the identifier of the parameter definition's parameter group. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
