docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KeyValuePair

    KeyValuePair model

    Inheritance
    object
    KeyValuePair
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Relay.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "KeyValuePair")]
    public class KeyValuePair

    Constructors

    KeyValuePair(string, string)

    Creates an instance of KeyValuePair.

    Declaration
    [Preserve]
    public KeyValuePair(string key, string value)
    Parameters
    Type Name Description
    string key

    key param

    string value

    value param

    Properties

    Key

    Parameter key of KeyValuePair

    Declaration
    [Preserve]
    [DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
    public string Key { get; }
    Property Value
    Type Description
    string

    Value

    Parameter value of KeyValuePair

    Declaration
    [Preserve]
    [DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
    public string Value { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)