Get the parameter value as a string with units.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public string AsValueString( Document doc, FormatOptions options )
Parameters
- doc Document
- The document to be used to obtain information about the parameter.
- options FormatOptions
- Options for formatting the string.
Return Value
StringThe string that represents the parameter value.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
