HttpRequestMessageExtensions.GetNextPageLink Method
Definition
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.
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
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.
Function that extracts out the skiptoken value from the instance.
Returns
A next page link.