BaseMetadata Class

Definition

The abstract base class for entity Metadata. Please note BaseMetadata is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AgeMetadata, AreaMetadata, CurrencyMetadata, DateMetadata, DateTimeMetadata, InformationMetadata, LengthMetadata, NumberMetadata, NumericRangeMetadata, OrdinalMetadata, SpeedMetadata, TemperatureMetadata, TemporalSetMetadata, TemporalSpanMetadata, TimeMetadata, VolumeMetadata and WeightMetadata.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Text.UnknownBaseMetadata))]
public abstract class BaseMetadata : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.BaseMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.BaseMetadata>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Language.Text.UnknownBaseMetadata))>]
type BaseMetadata = class
    interface IJsonModel<BaseMetadata>
    interface IPersistableModel<BaseMetadata>
Public MustInherit Class BaseMetadata
Implements IJsonModel(Of BaseMetadata), IPersistableModel(Of BaseMetadata)
Inheritance
BaseMetadata
Derived
Attributes
Implements

Constructors

BaseMetadata()

Initializes a new instance of BaseMetadata.

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.

IJsonModel<BaseMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BaseMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BaseMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BaseMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to