Share via


HttpConfigurationExtensions.MaxTop Method

Definition

Sets the MaxTop of DefaultQuerySettings in the configuration.

public static System.Web.Http.HttpConfiguration MaxTop (this System.Web.Http.HttpConfiguration configuration, int? maxTopValue);
static member MaxTop : System.Web.Http.HttpConfiguration * Nullable<int> -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function MaxTop (configuration As HttpConfiguration, maxTopValue As Nullable(Of Integer)) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration
maxTopValue
Nullable<Int32>

Returns

System.Web.Http.HttpConfiguration

Applies to