PageResult<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a feed of entities that includes additional information that OData formats support.
[Newtonsoft.Json.JsonObject]
[System.Runtime.Serialization.DataContract]
public class PageResult<T> : Microsoft.AspNet.OData.PageResult, System.Collections.Generic.IEnumerable<T>
[<Newtonsoft.Json.JsonObject>]
[<System.Runtime.Serialization.DataContract>]
type PageResult<'T> = class
inherit PageResult
interface seq<'T>
interface IEnumerable
Public Class PageResult(Of T)
Inherits PageResult
Implements IEnumerable(Of T)
Type Parameters
- T
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute DataContractAttribute
- Implements
Remarks
Currently limited to:
- The Count of all matching entities on the server (requested using $count=true).
- The NextLink to retrieve the next page of results (added if the server enforces Server Driven Paging).
Constructors
PageResult<T>(IEnumerable<T>, Uri, Nullable<Int64>) |
Creates a partial set of results - used when server driven paging is enabled. |
Properties
Count |
Gets the total count of items in the feed. (Inherited from PageResult) |
Items |
Gets the collection of entities for this feed. |
NextPageLink |
Gets the link for the next page of items in the feed. (Inherited from PageResult) |
Methods
GetEnumerator() |
Returns an enumerator that iterates through a collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |