C1.C1Preview Namespace : Unit Structure |
For a list of all members of this type, see Unit members.
Name | Description | |
---|---|---|
ConvertUnit | Overloaded. Attempts to convert the current unit value to other unit of measurement.
Only absolute units can be converted. This method throws an exception if the conversion cannot be performed. | |
Equals | Compares the current unit value with another object. | |
FromObject | Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed. | |
GetHashCode | Gets the hash code for the current unit value. | |
ToString | Returns a string that represents the current object. |