Share via


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