Share via


ContentUnderstandingModelFactory.TimeField Method

Definition

Time field extracted from the content.

public static Azure.AI.ContentUnderstanding.TimeField TimeField(System.Collections.Generic.IEnumerable<Azure.AI.ContentUnderstanding.ContentSpan> spans = default, float? confidence = default, string source = default, TimeSpan? valueTime = default);
static member TimeField : seq<Azure.AI.ContentUnderstanding.ContentSpan> * Nullable<single> * string * Nullable<TimeSpan> -> Azure.AI.ContentUnderstanding.TimeField
Public Shared Function TimeField (Optional spans As IEnumerable(Of ContentSpan) = Nothing, Optional confidence As Nullable(Of Single) = Nothing, Optional source As String = Nothing, Optional valueTime As Nullable(Of TimeSpan) = Nothing) As TimeField

Parameters

spans
IEnumerable<ContentSpan>

Span(s) associated with the field value in the markdown content.

confidence
Nullable<Single>

Confidence of predicting the field value.

source
String

Encoded source that identifies the position of the field value in the content.

valueTime
Nullable<TimeSpan>

Time field value, in ISO 8601 (hh:mm:ss) format.

Returns

A new TimeField instance for mocking.

Applies to