Share via


ODataOptions.SetMaxTop(Nullable<Int32>) Method

Definition

Sets the maximum value of $top that a client can request.

public Microsoft.AspNetCore.OData.ODataOptions SetMaxTop (int? maxTopValue);
member this.SetMaxTop : Nullable<int> -> Microsoft.AspNetCore.OData.ODataOptions
Public Function SetMaxTop (maxTopValue As Nullable(Of Integer)) As ODataOptions

Parameters

maxTopValue
Nullable<Int32>

The maximum value of $top that a client can request.

Returns

The current ODataOptions instance to enable fluent configuration.

Applies to