Share via


HttpConfigurationExtensions.Count Method

Definition

Overloads

Count(HttpConfiguration)

Sets the EnableCount to true of DefaultQuerySettings in the configuration.

Count(HttpConfiguration, QueryOptionSetting)

Sets the EnableCount of DefaultQuerySettings in the configuration, depends on QueryOptionSetting.

Count(HttpConfiguration)

Sets the EnableCount to true of DefaultQuerySettings in the configuration.

public static System.Web.Http.HttpConfiguration Count (this System.Web.Http.HttpConfiguration configuration);
static member Count : System.Web.Http.HttpConfiguration -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function Count (configuration As HttpConfiguration) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to

Count(HttpConfiguration, QueryOptionSetting)

Sets the EnableCount of DefaultQuerySettings in the configuration, depends on QueryOptionSetting.

public static System.Web.Http.HttpConfiguration Count (this System.Web.Http.HttpConfiguration configuration, Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
static member Count : System.Web.Http.HttpConfiguration * Microsoft.AspNet.OData.Query.QueryOptionSetting -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function Count (configuration As HttpConfiguration, setting As QueryOptionSetting) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to