你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.DocumentKeyValuePair Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.