docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QueryOrder

    An order for an individual field that is applied to a query.

    Inheritance
    object
    QueryOrder
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Lobbies
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class QueryOrder

    Constructors

    QueryOrder(bool, FieldEnum?)

    Initializes a new instance of the QueryOrder class.

    Declaration
    [Preserve]
    public QueryOrder(bool asc = false, QueryOrder.FieldEnum? field = null)
    Parameters
    Type Name Description
    bool asc

    Whether to sort in ascending or descending order..

    QueryOrder.FieldEnum? field

    The name of the field to order on..

    Properties

    Asc

    Whether to sort in ascending or descending order.

    Declaration
    [Preserve]
    public bool Asc { get; set; }
    Property Value
    Type Description
    bool

    Whether to sort in ascending or descending order.

    Field

    The name of the field to order on.

    Declaration
    [Preserve]
    public QueryOrder.FieldEnum? Field { get; set; }
    Property Value
    Type Description
    QueryOrder.FieldEnum?

    The name of the field to order on.

    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)