Partilhar via


CurrencyMetadata Class

Definition

Represents the Currency ) entity Metadata model.

public class CurrencyMetadata : Azure.AI.Language.Text.BaseMetadata, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.CurrencyMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.CurrencyMetadata>
type CurrencyMetadata = class
    inherit BaseMetadata
    interface IJsonModel<CurrencyMetadata>
    interface IPersistableModel<CurrencyMetadata>
Public Class CurrencyMetadata
Inherits BaseMetadata
Implements IJsonModel(Of CurrencyMetadata), IPersistableModel(Of CurrencyMetadata)
Inheritance
CurrencyMetadata
Implements

Properties

Iso4217

The alphabetic code based on another ISO standard, ISO 3166, which lists the codes for country names. The first two letters of the ISO 4217 three-letter code are the same as the code for the country name, and, where possible, the third letter corresponds to the first letter of the currency name.

Unit

Currency unit.

Value

The numeric value that the extracted text denotes.

Explicit Interface Implementations

IJsonModel<BaseMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BaseMetadata)
IJsonModel<BaseMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BaseMetadata)
IJsonModel<CurrencyMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CurrencyMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BaseMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BaseMetadata)
IPersistableModel<BaseMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BaseMetadata)
IPersistableModel<BaseMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BaseMetadata)
IPersistableModel<CurrencyMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CurrencyMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CurrencyMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to