共用方式為


TextAnalysisModelFactory.DateTimeMetadata Method

Definition

Initializes a new instance of DateTimeMetadata.

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

Parameters

dates
IEnumerable<DateValue>

List of date values.

Returns

A new DateTimeMetadata instance for mocking.

Applies to