RVTDocs.com
Namespace: Autodesk.Revit.DB

Definition

Class
Description:
The Definition object is a base object for all type of parameter definitions within the Autodesk Revit API.
Remarks:
This object supports properties and methods that report the name and type of a particular parameter. There are two kinds of definition object derived from this: InternalDefinition which represents all kinds of definitions existing entirely within the Autodesk Revit database. ExternalDefinitions represent definitions stored on disk in a shared parameters file. Most of the time code should be written to utilize this Definition base class as then the code will be applicable to both internal and external parameter definitions.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Definition
    Autodesk.Revit.DB.ExternalDefinition
    Autodesk.Revit.DB.InternalDefinition
Syntax
public abstract class Definition
Definition Class Members:
Name Description Inherited From
Name The user visible name for the parameter.
Name Description Inherited From
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) 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 ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
ToString Returns a string that represents the current object. (Inherited from Object ) Object