Jaa


PageResult<T>(IEnumerable<T>, Uri, Nullable<Int64>) Constructor

Definition

Creates a partial set of results - used when server driven paging is enabled.

public PageResult (System.Collections.Generic.IEnumerable<T> items, Uri nextPageLink, long? count);
new Microsoft.AspNet.OData.PageResult<'T> : seq<'T> * Uri * Nullable<int64> -> Microsoft.AspNet.OData.PageResult<'T>
Public Sub New (items As IEnumerable(Of T), nextPageLink As Uri, count As Nullable(Of Long))

Parameters

items
IEnumerable<T>

The subset of matching results that should be serialized in this page.

nextPageLink
Uri

A link to the next page of matching results (if more exists).

count
Nullable<Int64>

A total count of matching results so clients can know the number of matches on the server.

Applies to