共用方式為


TextAnalysisModelFactory.DateMetadata(IEnumerable<DateValue>) Method

Definition

Initializes a new instance of DateMetadata.

public static Azure.AI.Language.Text.DateMetadata DateMetadata (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DateValue> dates = default);
static member DateMetadata : seq<Azure.AI.Language.Text.DateValue> -> Azure.AI.Language.Text.DateMetadata
Public Shared Function DateMetadata (Optional dates As IEnumerable(Of DateValue) = Nothing) As DateMetadata

Parameters

dates
IEnumerable<DateValue>

List of date values.

Returns

A new DateMetadata instance for mocking.

Applies to