Creates a partial set of results - used when server driven paging is enabled.
Namespace:   System.Web.OData
Assembly:  System.Web.OData (in System.Web.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.Uri- A 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.OData Namespace
Return to top