Share via


DocumentFieldValue.AsPhoneNumber Method

Definition

Gets the value of the field as a phone number String.

public string AsPhoneNumber ();
member this.AsPhoneNumber : unit -> string
Public Function AsPhoneNumber () As String

Returns

The value of the field converted to a phone number String.

Exceptions

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

Applies to