WeightUnit Struct

Definition

The weight Unit of measurement.

public readonly struct WeightUnit : IEquatable<Azure.AI.Language.Text.WeightUnit>
type WeightUnit = struct
Public Structure WeightUnit
Implements IEquatable(Of WeightUnit)
Inheritance
WeightUnit
Implements

Constructors

WeightUnit(String)

Initializes a new instance of WeightUnit.

Properties

Dram

Weight unit in drams.

Gallon

Volume unit in gallons.

Grain

Weight unit in grains.

Gram

Weight unit in grams.

Kilogram

Weight unit in kilograms.

LongTonBritish

Weight unit in long tons (British).

MetricTon

Weight unit in metric tons.

Milligram

Weight unit in milligrams.

Ounce

Weight unit in ounces.

PennyWeight

Weight unit in pennyweights.

Pound

Weight unit in pounds.

ShortHundredWeightUs

Weight unit in short hundredweights (US).

ShortTonUs

Weight unit in short tons (US).

Stone

Weight unit in stones.

Ton

Weight unit in tons.

Unspecified

Unspecified weight unit.

Methods

Equals(WeightUnit)

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(WeightUnit, WeightUnit)

Determines if two WeightUnit values are the same.

Implicit(String to WeightUnit)

Converts a string to a WeightUnit.

Inequality(WeightUnit, WeightUnit)

Determines if two WeightUnit values are not the same.

Applies to