Temperature |
The TemperatureUnit type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals(Object) |
Returns true if obj is a TemperatureUnit that
represents the same unit of temperature; false otherwise.
(Overrides ValueTypeEquals(Object)) |
![]() | Equals(TemperatureUnit) | Returns true if other represents the same unit of temperature; false otherwise. |
![]() | GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode) |
![]() ![]() | GetValues | Returns an array of the available TemperatureUnit values. |
![]() | Range | Returns a non-null low-to-high-sorted ICollection of temperatures, with values running from firstValue to lastValue (inclusive), and the specified step between each consecutive temperature. |
![]() | ToString |
Returns a non-null, non-empty string representation of this item in the
format required to specify a TemperatureUnit in the request XML
("Celsius" or "Fahrenheit").
(Overrides ValueTypeToString) |
Name | Description | |
---|---|---|
![]() ![]() | Equality(TemperatureUnit, TemperatureUnit) | Determines whether two specified TemperatureUnit instances are equal. |
![]() ![]() | Inequality(TemperatureUnit, TemperatureUnit) | Determines whether two specified TemperatureUnit instances are not equal. |
Name | Description | |
---|---|---|
![]() ![]() | Celsius | For the Celsius temperature scale. |
![]() ![]() | Fahrenheit | For the Fahrenheit temperature scale. |