Share via


HttpRequestMessageExtensions.GetNextPageLink Method (HttpRequestMessage, Int32)

 

Creates a link for the next page of results; To be used as the value of @odata.nextLink.

Namespace:   System.Web.OData.Extensions
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public static Uri GetNextPageLink(
    this HttpRequestMessage request,
    int pageSize
)
public:
[ExtensionAttribute]
static Uri^ GetNextPageLink(
    HttpRequestMessage^ request,
    int pageSize
)
static member GetNextPageLink : 
        request:HttpRequestMessage *
        pageSize:int -> Uri
<ExtensionAttribute>
Public Shared Function GetNextPageLink (
    request As HttpRequestMessage,
    pageSize As Integer
) As Uri

Parameters

  • pageSize
    Type: System.Int32

    The number of results allowed per page.

Return Value

Type: System.Uri

A next page link.

See Also

HttpRequestMessageExtensions Class
System.Web.OData.Extensions Namespace

Return to top