DocumentAnalysisModelFactory.DocumentFieldSchema 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 DocumentFieldSchema.
public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema DocumentFieldSchema (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType type = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType.Unknown, string description = default, string example = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema items = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema> properties = default);
static member DocumentFieldSchema : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * string * string * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldSchema
Public Shared Function DocumentFieldSchema (Optional type As DocumentFieldType = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType.Unknown, Optional description As String = Nothing, Optional example As String = Nothing, Optional items As DocumentFieldSchema = Nothing, Optional properties As IReadOnlyDictionary(Of String, DocumentFieldSchema) = Nothing) As DocumentFieldSchema
Parameters
- type
- DocumentFieldType
Semantic data type of the field value.
- description
- String
Field description.
- example
- String
Example field content.
- items
- DocumentFieldSchema
Field type schema of each array element.
- properties
- IReadOnlyDictionary<String,DocumentFieldSchema>
Named sub-fields of the object field.
Returns
A new DocumentFieldSchema instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET