InternalDefinition
This object represents a parameter definition in an Autodesk Revit model.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Definition
Autodesk.Revit.DB.InternalDefinition
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class InternalDefinition : Definition, IDisposable
The InternalDefinition type exposes the following members.
Properties
Name
Description
Public Property
BuiltInParameter
Tests whether this definition identifies a built-in parameter or not.
Public Property
Id
The id of the parameter.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Name
The user-visible name for the parameter.
(Overrides
Definition.Name
)Public Property
VariesAcrossGroups
Whether or not the parameter values can vary across group members.
Public Property
Visible
Indicates if the parameter is visible in the Autodesk Revit user interface.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the InternalDefinition
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
Code Example
GetDataType
Gets a ForgeTypeId identifying the data type describing values of the parameter.
(Inherited from Definition)
Public Method
GetGroupTypeId
Gets the identifier of the built-in parameter group to which the parameter defined by this definition belongs.
(Overrides
Definition.GetGroupTypeId.
)Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetParameterTypeId
Tests whether this definition identifies a built-in parameter or not.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
GetTypeId
Gets the identifier of the parameter.
Public Method
SetAllowVaryBetweenGroups
Whether or not the parameter values can vary across group members.
Public Method
SetGroupTypeId
Sets the built-in parameter group to which the parameter defined by this definition belongs.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)