次の方法で共有


DocumentIntelligenceModelFactory.DocumentKeyValuePair Method

Definition

Initializes a new instance of DocumentKeyValuePair.

public static Azure.AI.DocumentIntelligence.DocumentKeyValuePair DocumentKeyValuePair (Azure.AI.DocumentIntelligence.DocumentKeyValueElement key = default, Azure.AI.DocumentIntelligence.DocumentKeyValueElement value = default, float confidence = 0);
static member DocumentKeyValuePair : Azure.AI.DocumentIntelligence.DocumentKeyValueElement * Azure.AI.DocumentIntelligence.DocumentKeyValueElement * single -> Azure.AI.DocumentIntelligence.DocumentKeyValuePair
Public Shared Function DocumentKeyValuePair (Optional key As DocumentKeyValueElement = Nothing, Optional value As DocumentKeyValueElement = Nothing, Optional confidence As Single = 0) 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