v1.0.0
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
public class KeyValuePair

Constructors

KeyValuePair(String, String)

Creates an instance of KeyValuePair.

Declaration
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
public string Key { get; }
Property Value
TypeDescription
System.String

Value

Gets the value in the key/value pair.

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