TemperatureUnit Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The temperature Unit of measurement.
public readonly struct TemperatureUnit : IEquatable<Azure.AI.Language.Text.TemperatureUnit>
type TemperatureUnit = struct
Public Structure TemperatureUnit
Implements IEquatable(Of TemperatureUnit)
- Inheritance
-
TemperatureUnit
- Implements
Constructors
| Name | Description |
|---|---|
| TemperatureUnit(String) |
Initializes a new instance of TemperatureUnit. |
Properties
| Name | Description |
|---|---|
| Celsius |
Temperature unit in Celsius. |
| Fahrenheit |
Temperature unit in Fahrenheit. |
| Kelvin |
Temperature unit in Kelvin. |
| Rankine |
Temperature unit in Rankine. |
| Unspecified |
Unspecified temperature unit. |
Methods
| Name | Description |
|---|---|
| Equals(TemperatureUnit) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(TemperatureUnit, TemperatureUnit) |
Determines if two TemperatureUnit values are the same. |
| Implicit(String to TemperatureUnit) |
Converts a String to a TemperatureUnit. |
| Inequality(TemperatureUnit, TemperatureUnit) |
Determines if two TemperatureUnit values are not the same. |