ODataRouteBuilderExtensions.MaxTop Method

Definition

Sets the MaxTop of DefaultQuerySettings in route builder.

public static Microsoft.AspNetCore.Routing.IRouteBuilder MaxTop (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, int? maxTopValue);
static member MaxTop : Microsoft.AspNetCore.Routing.IRouteBuilder * Nullable<int> -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MaxTop (builder As IRouteBuilder, maxTopValue As Nullable(Of Integer)) As IRouteBuilder

Parameters

builder
IRouteBuilder
maxTopValue
Nullable<Int32>

Returns

Applies to