Units
Constructor
Description:
Creates a new Units object with default settings for Metric or Imperial units.
Creates a new Units object with default settings for Metric or Imperial units.
Parameters
| Parameter | Type | Description |
|---|---|---|
| unitSystem | UnitSystem | Indicates whether the Units object should be initialized with default settings for Metric or Imperial units. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |