Dela via


DocumentFieldValue.AsList Method

Definition

Gets the value of the field as an IReadOnlyList<T>.

public System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField> AsList ();
member this.AsList : unit -> System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField>
Public Function AsList () As IReadOnlyList(Of DocumentField)

Returns

The value of the field converted to an IReadOnlyList<T>.

Exceptions

Thrown when Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue.FieldType is not List.

Applies to