C1.C1Preview Namespace > Unit Structure : Implicit Type Conversion Operator |
Throws exception if the operation cannot be performed.
Overload | Description |
---|---|
Implicit Type Conversion(Double,Unit) | Returns the absolute value of a Unit expressed in UnitTypeEnum.Default units.
Throws exception if the operation cannot be performed. |
Implicit Type Conversion(String,Unit) | Converts a unit value to a string. |
Implicit Type Conversion(Unit,Double) | Converts a double value to a Unit using UnitTypeEnum.Default units. |
Implicit Type Conversion(Unit,Int32) | Converts an integer value to a Unit using UnitTypeEnum.Default units. |
Implicit Type Conversion(Unit,String) | Converts a string to a Unit value (see Unit Constructor(String). |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2