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 | |
---|---|---|
PageResult<T> | Creates a partial set of results - used when server driven paging is enabled. |
Top
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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (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.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.