Dela via


DocumentFieldValue.AsCurrency Method

Definition

Gets the value of the field as a CurrencyValue.

public Azure.AI.FormRecognizer.DocumentAnalysis.CurrencyValue AsCurrency ();
member this.AsCurrency : unit -> Azure.AI.FormRecognizer.DocumentAnalysis.CurrencyValue
Public Function AsCurrency () As CurrencyValue

Returns

The value of the field converted to CurrencyValue.

Exceptions

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

Applies to