共用方式為


AgeUnit Struct

Definition

The Age Unit of measurement.

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

Constructors

AgeUnit(String)

Initializes a new instance of AgeUnit.

Properties

Day

Time period of a day.

Month

Time period of a month.

Unspecified

Unspecified time period.

Week

Time period of a week.

Year

Time period of a year.

Methods

Equals(AgeUnit)

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

Determines if two AgeUnit values are the same.

Implicit(String to AgeUnit)

Converts a string to a AgeUnit.

Inequality(AgeUnit, AgeUnit)

Determines if two AgeUnit values are not the same.

Applies to