Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ODataPreferenceHeader.MaxPageSize Property

Definition

Namespace:
Microsoft.OData
Assembly:
Microsoft.OData.Core.dll
Package:
Microsoft.OData.Core v7.9.0

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.

Property to get and set the "odata.maxpagesize" preference to the "Prefer" header on the underlying IODataRequestMessage or the "Preference-Applied" header on the underlying IODataResponseMessage. Setting N sets the "odata.maxpagesize=N" preference. Setting null clears the "odata.maxpagesize" preference. Returns N if the "odata.maxpagesize=N" preference is on the header. Returning null indicates that "odata.maxpagesize" is not on the header.

public int? MaxPageSize { get; set; }
member this.MaxPageSize : Nullable<int> with get, set
Public Property MaxPageSize As Nullable(Of Integer)

Property Value

Applies to