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

DocumentAnalysisModelFactory.DocumentField 方法

定义

初始化 DocumentField 的新实例。

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField DocumentField (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType fieldType, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue value, string content, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans, float? confidence);
static member DocumentField : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * Nullable<single> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField
Public Shared Function DocumentField (fieldType As DocumentFieldType, value As DocumentFieldValue, content As String, boundingRegions As IReadOnlyList(Of BoundingRegion), spans As IReadOnlyList(Of DocumentSpan), confidence As Nullable(Of Single)) As DocumentField

参数

fieldType
DocumentFieldType

字段值的数据类型。

content
String

字段内容。

boundingRegions
IReadOnlyList<BoundingRegion>

覆盖字段的边界区域。

spans
IReadOnlyList<DocumentSpan>

阅读顺序串联内容的字段的位置。

confidence
Nullable<Single>

正确提取字段的置信度。

返回

适用于