Partilhar via


CurrencyValue Class

Definition

Currency field value.

public class CurrencyValue : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.CurrencyValue>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.CurrencyValue>
type CurrencyValue = class
    interface IJsonModel<CurrencyValue>
    interface IPersistableModel<CurrencyValue>
Public Class CurrencyValue
Implements IJsonModel(Of CurrencyValue), IPersistableModel(Of CurrencyValue)
Inheritance
CurrencyValue
Implements

Properties

Amount

Currency amount.

CurrencyCode

Resolved currency code (ISO 4217), if any.

CurrencySymbol

Currency symbol label, if any.

Explicit Interface Implementations

IJsonModel<CurrencyValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CurrencyValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CurrencyValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CurrencyValue>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CurrencyValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to