v1.1.4
Latest
2022.3+

Class KeyValuePair

KeyValuePair model

Inheritance
System.Object
KeyValuePair
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplay.Models
Syntax
[Preserve]
public class KeyValuePair

Constructors

KeyValuePair(String, String)

Creates an instance of KeyValuePair.

Declaration
[Preserve]
public KeyValuePair(string key, string value)
Parameters
TypeNameDescription
System.Stringkey

key param

System.Stringvalue

value param

Properties

Key

Gets the key in the key/value pair.

Declaration
[Preserve]
public string Key { get; }
Property Value
TypeDescription
System.String

Value

Gets the value in the key/value pair.

Declaration
[Preserve]
public string Value { get; }
Property Value
TypeDescription
System.String