Share via


DocumentAnalysisModelFactory.DocumentKeyValueElement Method

Definition

Initializes a new instance of DocumentKeyValueElement.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValueElement DocumentKeyValueElement (string content = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans = default);
static member DocumentKeyValueElement : string * seq<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> -> Azure.AI.FormRecognizer.DocumentAnalysis.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