Gets the identifier of the unit quantifying the parameter value.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ForgeTypeId GetUnitTypeId()
Return Value
ForgeTypeIdIdentifier of the unit of the parameter.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if this parameter is not of value type. |