Share via


HttpRequestMessageExtensions.GetNextPageLink Method

Definition

Overloads

GetNextPageLink(HttpRequestMessage, Int32)

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

GetNextPageLink(HttpRequestMessage, Int32, Object, Func<Object,String>)

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

GetNextPageLink(HttpRequestMessage, Int32)

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

public static Uri GetNextPageLink (this System.Net.Http.HttpRequestMessage request, int pageSize);
static member GetNextPageLink : System.Net.Http.HttpRequestMessage * int -> Uri
<Extension()>
Public Function GetNextPageLink (request As HttpRequestMessage, pageSize As Integer) As Uri

Parameters

request
HttpRequestMessage

The request on which to base the next page link.

pageSize
Int32

The number of results allowed per page.

Returns

Uri

A next page link.

Applies to

GetNextPageLink(HttpRequestMessage, Int32, Object, Func<Object,String>)

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

public static Uri GetNextPageLink (this System.Net.Http.HttpRequestMessage request, int pageSize, object instance, Func<object,string> objToSkipTokenValue);
static member GetNextPageLink : System.Net.Http.HttpRequestMessage * int * obj * Func<obj, string> -> Uri
<Extension()>
Public Function GetNextPageLink (request As HttpRequestMessage, pageSize As Integer, instance As Object, objToSkipTokenValue As Func(Of Object, String)) As Uri

Parameters

request
HttpRequestMessage

The request on which to base the next page link.

pageSize
Int32

The number of results allowed per page.

instance
Object

The instance based on which the skiptoken value is generated.

objToSkipTokenValue
Func<Object,String>

Function that extracts out the skiptoken value from the instance.

Returns

Uri

A next page link.

Applies to