你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TemperatureUnit Struct

Definition

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

TemperatureUnit(String)

Initializes a new instance of TemperatureUnit.

Properties

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

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

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.

Applies to