Search Results for

    Show / Hide Table of Contents

    Class SortInfo

    Sorting information

    Inheritance
    object
    SortInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class SortInfo

    Properties

    Direction

    The sort direction (ascending/descending).

    Declaration
    [JsonProperty("direction", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public SortDirection Direction { get; set; }
    Property Value
    SortDirection

    Field

    The field's ID to sort on.

    Declaration
    [JsonProperty("field", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Field { get; set; }
    Property Value
    string

    Methods

    FromJson(string)

    Declaration
    public static SortInfo FromJson(string data)
    Parameters
    string data

    Returns
    SortInfo

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX