Share via


DocumentIntelligenceModelFactory.DocumentKeyValueElement Method

Definition

Initializes a new instance of DocumentKeyValueElement.

public static Azure.AI.DocumentIntelligence.DocumentKeyValueElement DocumentKeyValueElement (string content = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default);
static member DocumentKeyValueElement : string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> -> Azure.AI.DocumentIntelligence.DocumentKeyValueElement
Public Shared Function DocumentKeyValueElement (Optional content As String = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing) As DocumentKeyValueElement

Parameters

content
String

Concatenated content of the key-value element in reading order.

boundingRegions
IEnumerable<BoundingRegion>

Bounding regions covering the key-value element.

spans
IEnumerable<DocumentSpan>

Location of the key-value element in the reading order concatenated content.

Returns

A new DocumentKeyValueElement instance for mocking.

Applies to