Sdílet prostřednictvím


FieldValue Struct

Definition

Represents the strongly-typed value of a field recognized from the input document and provides methods for converting it to the appropriate type.

public readonly struct FieldValue
type FieldValue = struct
Public Structure FieldValue
Inheritance
FieldValue

Properties

ValueType

The data type of the field value.

Methods

AsCountryRegion()

Gets the value of the field as an ISO 3166-1 alpha-3 country code String.

AsDate()

Gets the value of the field as a DateTime.

AsDictionary()

Gets the value of the field as a Dictionary<TKey,TValue>.

AsFloat()

Gets the value of the field as a Single.

AsInt64()

Gets the value of the field as a Int64.

AsList()

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

AsPhoneNumber()

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

AsSelectionMarkState()

Gets the value of the field as a SelectionMarkState.

AsString()

Gets the value of the field as a String.

AsTime()

Gets the value of the field as a TimeSpan.

Applies to