Class KeyValuePair
KeyValuePair
Inherited Members
Namespace: Unity.Services.Apis.Admin.Environment
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "KeyValuePair")]
[Preserve]
public class KeyValuePair
Constructors
KeyValuePair(string, string)
Initializes a new instance of the KeyValuePair class.
Declaration
[Preserve]
public KeyValuePair(string key = null, string value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | key (required). |
| string | value | value (required). |
Properties
Key
Gets or Sets Key
Declaration
[DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or Sets Value
Declaration
[DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |