Provides access to value as a string with unit in the given family parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public string AsValueString( FamilyParameter familyParameter )
Parameters
- familyParameter FamilyParameter
Return Value
StringThe string that represents the parameter value with unit.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"familyParameter"-is null. |
ArgumentException | Thrown if the input argument-"familyParameter"-is invalid. |