Share via


ODataPreferenceHeader.MaxPageSize Property

Definition

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