共用方式為


TextAnalysisModelFactory.AgeMetadata(Double, AgeUnit) Method

Definition

Initializes a new instance of AgeMetadata.

public static Azure.AI.Language.Text.AgeMetadata AgeMetadata (double value = 0, Azure.AI.Language.Text.AgeUnit unit = default);
static member AgeMetadata : double * Azure.AI.Language.Text.AgeUnit -> Azure.AI.Language.Text.AgeMetadata
Public Shared Function AgeMetadata (Optional value As Double = 0, Optional unit As AgeUnit = Nothing) As AgeMetadata

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
AgeUnit

Unit of measure for age.

Returns

A new AgeMetadata instance for mocking.

Applies to