[]
Converts a unit value to a string.
public static implicit operator string(Unit value)
Public Shared Widening Operator CType(value As Unit) As String
Type | Name | Description |
---|---|---|
Unit | value | The unit to convert. |
Type | Description |
---|---|
string | The string representing the unit value. |
Converts a string to a Unit value (see Unit(string).
public static implicit operator Unit(string value)
Public Shared Widening Operator CType(value As String) As Unit
Type | Name | Description |
---|---|---|
string | value | The string to convert. |
Type | Description |
---|---|
Unit | The unit value. |