Delen via


StringKeyValuePair Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.StringKeyValuePairTypeConverter))]
public class StringKeyValuePair : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IStringKeyValuePair
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.StringKeyValuePairTypeConverter))>]
type StringKeyValuePair = class
    interface IStringKeyValuePair
    interface IJsonSerializable
Public Class StringKeyValuePair
Implements IStringKeyValuePair
Inheritance
StringKeyValuePair
Attributes
Implements

Constructors

StringKeyValuePair()

Creates an new StringKeyValuePair instance.

Properties

Key

The key to the mapped value.

Value

The value of the mapping key.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StringKeyValuePair.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StringKeyValuePair.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.IStringKeyValuePair.

FromJsonString(String)

Creates a new instance of StringKeyValuePair, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StringKeyValuePair into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to