Class SortInfo
Sorting information
Inherited Members
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
Field
The field's ID to sort on.
Declaration
[JsonProperty("field", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Field { get; set; }