docs.unity3d.com
    Show / Hide Table of Contents

    Class QueryOrder

    Inheritance
    Object
    QueryOrder
    Namespace: Unity.Services.Lobbies.Models
    Syntax
    [Preserve]
    public class QueryOrder

    Constructors

    QueryOrder(Boolean, QueryOrder.FieldOptions)

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

    Declaration
    [Preserve]
    public QueryOrder(bool asc = false, QueryOrder.FieldOptions field = (QueryOrder.FieldOptions)0)
    Parameters
    Type Name Description
    Boolean asc

    Whether to sort in ascending or descending order.

    QueryOrder.FieldOptions 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; }
    Property Value
    Type Description
    Boolean

    Field

    The name of the field to order on.

    Declaration
    [Preserve]
    public QueryOrder.FieldOptions Field { get; }
    Property Value
    Type Description
    QueryOrder.FieldOptions
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023