docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IndexField

    A field in an index

    Inheritance
    object
    IndexField
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.CloudSave
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "IndexField")]
    [Preserve]
    public class IndexField

    Constructors

    IndexField(string, bool)

    Initializes a new instance of the IndexField class.

    Declaration
    [Preserve]
    public IndexField(string key = null, bool asc = false)
    Parameters
    Type Name Description
    string key

    The indexed Cloud Save key (required).

    bool asc

    Whether the field is sorted in ascending order (required).

    Properties

    Asc

    Whether the field is sorted in ascending order

    Declaration
    [DataMember(Name = "asc", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public bool Asc { get; set; }
    Property Value
    Type Description
    bool

    Whether the field is sorted in ascending order

    Key

    The indexed Cloud Save key

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

    The indexed Cloud Save key

    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)