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

DocumentAnalysisModelFactory.DocumentKeyValuePair Method

Definition

Initializes a new instance of DocumentKeyValuePair.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValuePair DocumentKeyValuePair(Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValueElement key, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValueElement value, float confidence);
static member DocumentKeyValuePair : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValueElement * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValueElement * single -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentKeyValuePair
Public Shared Function DocumentKeyValuePair (key As DocumentKeyValueElement, value As DocumentKeyValueElement, confidence As Single) As DocumentKeyValuePair

Parameters

key
DocumentKeyValueElement

Field label of the key-value pair.

value
DocumentKeyValueElement

Field value of the key-value pair.

confidence
Single

Confidence of correctly extracting the key-value pair.

Returns

A new DocumentKeyValuePair instance for mocking.

Applies to