PropertyConfiguration.OrderBy Method
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.
OrderBy() |
Sets all properties of this property is sortable. |
OrderBy(QueryOptionSetting) |
Sets whether all properties of this property is sortable. |
OrderBy(String[]) |
Sets sortable properties of this property. |
OrderBy(QueryOptionSetting, String[]) |
Sets sortable properties depends on QueryOptionSetting of this property. |
Sets all properties of this property is sortable.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration OrderBy ();
member this.OrderBy : unit -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function OrderBy () As PropertyConfiguration
Returns
Applies to
Sets whether all properties of this property is sortable.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration OrderBy (Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
member this.OrderBy : Microsoft.AspNet.OData.Query.QueryOptionSetting -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function OrderBy (setting As QueryOptionSetting) As PropertyConfiguration
Parameters
- setting
- QueryOptionSetting
Returns
Applies to
Sets sortable properties of this property.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration OrderBy (params string[] properties);
member this.OrderBy : string[] -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function OrderBy (ParamArray properties As String()) As PropertyConfiguration
Parameters
- properties
- String[]
Returns
Applies to
Sets sortable properties depends on QueryOptionSetting of this property.
public Microsoft.AspNet.OData.Builder.PropertyConfiguration OrderBy (Microsoft.AspNet.OData.Query.QueryOptionSetting setting, params string[] properties);
member this.OrderBy : Microsoft.AspNet.OData.Query.QueryOptionSetting * string[] -> Microsoft.AspNet.OData.Builder.PropertyConfiguration
Public Function OrderBy (setting As QueryOptionSetting, ParamArray properties As String()) As PropertyConfiguration
Parameters
- setting
- QueryOptionSetting
- properties
- String[]