Share via


DocumentAnalysisModelFactory.DocumentFieldValueWithUnknownFieldType Method

Definition

Initializes a new instance of DocumentFieldValue.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue DocumentFieldValueWithUnknownFieldType (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType expectedFieldType);
static member DocumentFieldValueWithUnknownFieldType : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue
Public Shared Function DocumentFieldValueWithUnknownFieldType (expectedFieldType As DocumentFieldType) As DocumentFieldValue

Parameters

expectedFieldType
DocumentFieldType

The expected type of the field.

Returns

A new DocumentFieldValue instance for mocking.

Applies to