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