次の方法で共有


StringKeyValuePair Class

Definition

StringKeyValuePair represents a single entry in a mapping of keys to values.

public class StringKeyValuePair : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.StringKeyValuePair>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.StringKeyValuePair>
type StringKeyValuePair = class
    interface IJsonModel<StringKeyValuePair>
    interface IPersistableModel<StringKeyValuePair>
Public Class StringKeyValuePair
Implements IJsonModel(Of StringKeyValuePair), IPersistableModel(Of StringKeyValuePair)
Inheritance
StringKeyValuePair
Implements

Constructors

StringKeyValuePair(String, String)

Initializes a new instance of StringKeyValuePair.

Properties

Key

The key to the mapped value.

Value

The value of the mapping key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StringKeyValuePair>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StringKeyValuePair>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StringKeyValuePair>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StringKeyValuePair>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StringKeyValuePair>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to