PageResult<T> Class
Represents a feed of entities that includes additional information that OData formats support.
Namespace: System.Web.OData
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.PageResult
System.Web.OData.PageResult<T>
Syntax
[JsonObjectAttribute]
[DataContractAttribute]
public class PageResult<T> : PageResult, IEnumerable<T>, IEnumerable
generic<typename T>
[JsonObjectAttribute]
[DataContractAttribute]
public ref class PageResult : PageResult, IEnumerable<T>, IEnumerable
[<JsonObjectAttribute>]
[<DataContractAttribute>]
type PageResult<'T> =
class
inherit PageResult
interface IEnumerable<'T>
interface IEnumerable
end
<JsonObjectAttribute>
<DataContractAttribute>
Public Class PageResult(Of T)
Inherits PageResult
Implements IEnumerable(Of T), IEnumerable
Constructors
Name | Description | |
---|---|---|
PageResult<T>(IEnumerable<T>, Uri, Nullable<Int64>) | Creates a partial set of results - used when server driven paging is enabled. |
Properties
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | Returns an enumerator that iterates through a collection. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |
Remarks
Currently limited to:
[list type="bullet"] [item] [description]The Count of all matching entities on the server (requested using $count=true).[/description] [/item] [item] [description]The NextLink to retrieve the next page of results (added if the server enforces Server Driven Paging).[/description] [/item] [/list]
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
Return to top