ContentUnderstandingModelFactory.TimeField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- source
- String
Encoded source that identifies the position of the field value in the content.
Returns
A new TimeField instance for mocking.