Jaa


DefaultSkipTokenHandler.GenerateNextPageLink Method

Definition

Returns the URI for NextPageLink

public override Uri GenerateNextPageLink (Uri baseUri, int pageSize, object instance, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext context);
override this.GenerateNextPageLink : Uri * int * obj * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> Uri
Public Overrides Function GenerateNextPageLink (baseUri As Uri, pageSize As Integer, instance As Object, context As ODataSerializerContext) As Uri

Parameters

baseUri
Uri

BaseUri for nextlink. It should be request URI for top level resource and navigation link for nested resource.

pageSize
Int32

Maximum number of records in the set of partial results for a resource.

instance
Object

Instance based on which SkipToken value will be generated.

context
ODataSerializerContext

Serializer context

Returns

Uri

Returns the URI for NextPageLink. If a null object is passed for the instance, resorts to the default paging mechanism of using $skip and $top.

Applies to