Share via


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

Name Description
AgeUnit(String)

Initializes a new instance of AgeUnit.

Properties

Name Description
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

Name Description
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

Name Description
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