docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SortOption

    Options representing how to sort the results of a session query.

    Inheritance
    object
    SortOption
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class SortOption

    Constructors

    SortOption()

    Construct a sort object with default order and field (creation time ascending).

    Declaration
    public SortOption()

    SortOption(SortOrder, SortField)

    Construct a sort object with the provided order and field.

    Declaration
    public SortOption(SortOrder order, SortField field)
    Parameters
    Type Name Description
    SortOrder order

    Order in which to sort results.

    SortField field

    Field on which to sort results.

    Properties

    Field

    Field to sort results by.

    Declaration
    public SortField Field { get; set; }
    Property Value
    Type Description
    SortField

    Order

    Order in which results will be sorted.

    Declaration
    public SortOrder Order { get; set; }
    Property Value
    Type Description
    SortOrder
    In This Article
    • Constructors
      • SortOption()
      • SortOption(SortOrder, SortField)
    • Properties
      • Field
      • Order
    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)