HttpConfigurationExtensions.OrderBy Method
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.
Overloads
OrderBy(HttpConfiguration) |
Sets the EnableOrderBy to true of DefaultQuerySettings in the configuration. |
OrderBy(HttpConfiguration, QueryOptionSetting) |
Sets the EnableOrderBy of DefaultQuerySettings in the configuration, depends on QueryOptionSetting. |
OrderBy(HttpConfiguration)
Sets the EnableOrderBy to true of DefaultQuerySettings in the configuration.
public static System.Web.Http.HttpConfiguration OrderBy (this System.Web.Http.HttpConfiguration configuration);
static member OrderBy : System.Web.Http.HttpConfiguration -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function OrderBy (configuration As HttpConfiguration) As HttpConfiguration
Parameters
- configuration
- System.Web.Http.HttpConfiguration
Returns
System.Web.Http.HttpConfiguration
Applies to
OrderBy(HttpConfiguration, QueryOptionSetting)
Sets the EnableOrderBy of DefaultQuerySettings in the configuration, depends on QueryOptionSetting.
public static System.Web.Http.HttpConfiguration OrderBy (this System.Web.Http.HttpConfiguration configuration, Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
static member OrderBy : System.Web.Http.HttpConfiguration * Microsoft.AspNet.OData.Query.QueryOptionSetting -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function OrderBy (configuration As HttpConfiguration, setting As QueryOptionSetting) As HttpConfiguration
Parameters
- configuration
- System.Web.Http.HttpConfiguration
- setting
- QueryOptionSetting
Returns
System.Web.Http.HttpConfiguration