Partilhar via


NameValuePair Class

Definition

Represents a name-value pair.

public class NameValuePair : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.NameValuePair>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.NameValuePair>
type NameValuePair = class
    interface IJsonModel<NameValuePair>
    interface IPersistableModel<NameValuePair>
Public Class NameValuePair
Implements IJsonModel(Of NameValuePair), IPersistableModel(Of NameValuePair)
Inheritance
NameValuePair
Implements

Properties

Name

The name in the name-value pair.

Value

The value in the name-value pair.

Explicit Interface Implementations

IJsonModel<NameValuePair>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NameValuePair>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NameValuePair>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NameValuePair>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NameValuePair>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to