FamilyType.AsValueString
Method
Description:
Provides access to value as a string with unit in the given family parameter.
Provides access to value as a string with unit in the given family parameter.
Remarks:
The method only applies to parameters of value types. If the parameter has no value or does not contain a numeric value, the method returns null.
The method only applies to parameters of value types. If the parameter has no value or does not contain a numeric value, the method returns null.
Parameters
| Parameter | Type | Description |
|---|---|---|
| familyParameter | FamilyParameter |
Return Value
| Type | Description |
|---|---|
| String | The string that represents the parameter value with unit. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the input argument-"familyParameter"-is. |
| ArgumentException | Thrown if the input argument-"familyParameter"-is invalid. |