Share via


MongoDbCursorMethodsProperties.Sort Property

Definition

Gets or sets specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).

[Newtonsoft.Json.JsonProperty(PropertyName="sort")]
public object Sort { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="sort")>]
member this.Sort : obj with get, set
Public Property Sort As Object

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to