共用方式為


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