다음을 통해 공유


DocumentFieldValue.AsBoolean Method

Definition

Gets the value of the field as a Boolean.

public bool AsBoolean ();
member this.AsBoolean : unit -> bool
Public Function AsBoolean () As Boolean

Returns

The value of the field converted to a Boolean.

Exceptions

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

Applies to