Click or drag to resize

TemperatureUnit Methods

The TemperatureUnit type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object) Returns true if obj is a TemperatureUnit that represents the same unit of temperature; false otherwise.
(Overrides ValueTypeEquals(Object))
Public methodEquals(TemperatureUnit) Returns true if other represents the same unit of temperature; false otherwise.
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetValues Returns an array of the available TemperatureUnit values.
Public methodRange 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.
Public methodToString 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)
Top
See Also