PageResult<T> Constructor (IEnumerable<T>, Uri, Nullable<Int64>)
Creates a partial set of results - used when server driven paging is enabled.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public PageResult(
IEnumerable<T> items,
Uri nextPageLink,
Nullable<long> count
)
public:
PageResult(
IEnumerable<T>^ items,
Uri^ nextPageLink,
Nullable<long long> count
)
new :
items:IEnumerable<'T> *
nextPageLink:Uri *
count:Nullable<int64> -> PageResult
Public Sub New (
items As IEnumerable(Of T),
nextPageLink As Uri,
count As Nullable(Of Long)
)
Parameters
items
Type: System.Collections.Generic.IEnumerable<T>The subset of matching results that should be serialized in this page.
nextPageLink
Type: System.UriA link to the next page of matching results (if more exists).
count
Type: System.Nullable<Int64>A total count of matching results so clients can know the number of matches on the server.
See Also
PageResult<T> Class
System.Web.Http.OData Namespace
Return to top