你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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