PageResult<T> Class

Represents a feed of entities that includes additional information that OData formats support.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.PageResult
    System.Web.Http.OData.PageResult<T>

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
<JsonObjectAttribute> _
<DataContractAttribute> _
Public Class PageResult(Of T) _
    Inherits PageResult _
    Implements IEnumerable(Of T), IEnumerable
'Usage
Dim instance As PageResult(Of T)
[JsonObjectAttribute]
[DataContractAttribute]
public class PageResult<T> : PageResult, 
    IEnumerable<T>, IEnumerable
[JsonObjectAttribute]
[DataContractAttribute]
generic<typename T>
public ref class PageResult : public PageResult, 
    IEnumerable<T>, IEnumerable
[<JsonObjectAttribute>]
[<DataContractAttribute>]
type PageResult<'T> =  
    class 
        inherit PageResult 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript does not support generic types and methods.

Type Parameters

  • T

The PageResult<T> type exposes the following members.

Constructors

  Name Description
Public method PageResult<T> Creates a partial set of results - used when server driven paging is enabled.

Top

Properties

  Name Description
Public property Count Gets the total count of items in the feed. (Inherited from PageResult.)
Public property Items Gets the collection of entities for this feed.
Public property NextPageLink Gets the link for the next page of items in the feed. (Inherited from PageResult.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through a collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData Namespace