Units.GetFormatOptions
Method
Description:
Gets the default FormatOptions for a spec.
Gets the default FormatOptions for a spec.
Parameters
| Parameter | Type | Description |
|---|---|---|
| specTypeId | ForgeTypeId | Identifier of the spec. |
Return Value
| Type | Description |
|---|---|
| FormatOptions | A copy of the FormatOptions. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | specTypeId is not a measurable spec identifier. See UnitUtils.IsMeasurableSpec(ForgeTypeId). |
| ArgumentNullException | A non-optional argument was null |