SearchParameters.OrderBy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.
[Newtonsoft.Json.JsonIgnore]
public System.Collections.Generic.IList<string> OrderBy { get; set; }
[<Newtonsoft.Json.JsonIgnore>]
member this.OrderBy : System.Collections.Generic.IList<string> with get, set
Public Property OrderBy As IList(Of String)
Property Value
- Attributes
-
Newtonsoft.Json.JsonIgnoreAttribute
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應