你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentAnalysisModelFactory.DocumentFieldSchema 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- type
- DocumentFieldType
字段值的语义数据类型。
- description
- String
字段说明。
- example
- String
示例字段内容。
- items
- DocumentFieldSchema
每个数组元素的字段类型架构。
- properties
- IReadOnlyDictionary<String,DocumentFieldSchema>
对象字段的命名子字段。
返回
用于模拟的新 DocumentFieldSchema 实例。