ODataRouteBuilderExtensions.MaxTop 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.
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