Compartilhar via


DocumentAnalysisModelFactory.DocumentFieldSchema Método

Definição

Inicializa uma nova instância de 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

Parâmetros

type
DocumentFieldType

Tipo de dados semânticos do valor do campo.

description
String

Descrição do campo.

example
String

Conteúdo do campo de exemplo.

items
DocumentFieldSchema

Esquema de tipo de campo de cada elemento de matriz.

properties
IReadOnlyDictionary<String,DocumentFieldSchema>

Subcampos nomeados do campo de objeto.

Retornos

Uma nova DocumentFieldSchema instância para zombar.

Aplica-se a