Partager via


DocumentAnalysisModelFactory.DocumentField Méthode

Définition

Initialise une nouvelle instance de DocumentField.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField DocumentField (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType fieldType, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue value, string content, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans, float? confidence);
static member DocumentField : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * Nullable<single> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField
Public Shared Function DocumentField (fieldType As DocumentFieldType, value As DocumentFieldValue, content As String, boundingRegions As IReadOnlyList(Of BoundingRegion), spans As IReadOnlyList(Of DocumentSpan), confidence As Nullable(Of Single)) As DocumentField

Paramètres

fieldType
DocumentFieldType

Type de données de la valeur de champ.

content
String

Contenu du champ.

boundingRegions
IReadOnlyList<BoundingRegion>

Régions englobantes couvrant le champ.

spans
IReadOnlyList<DocumentSpan>

Emplacement du champ dans le contenu concaténé dans l’ordre de lecture.

confidence
Nullable<Single>

Confiance de l’extraction correcte du champ.

Retours

S’applique à