C# Class Infragistics.Controls.DataSource.ODataDataSourcePage

Represents a single page of data retreived from the ODataVirtualDataSource
Inheritance: IDataSourcePage
Afficher le fichier Open project: Infragistics/DataSource-Reference-Implementations Class Usage Examples

Méthodes publiques

Méthode Description
Count ( ) : int

Gets the actual number of records in the current page.

GetItemAtIndex ( int index ) : object

Gets the item at the specified index within the page.

GetItemValueAtIndex ( int index, string valueName ) : object

Gets the desired item value, by name, from the item at the provided index, within the page.

ODataDataSourcePage ( object>.IEnumerable sourceData, IDataSourceSchema schema, int pageIndex ) : System
PageIndex ( ) : int

Gets the absolute index of the current page within the data source.

Schema ( ) : IDataSourceSchema

Gets the schema associated with the items of the current page.

Method Details

Count() public méthode

Gets the actual number of records in the current page.
public Count ( ) : int
Résultat int

GetItemAtIndex() public méthode

Gets the item at the specified index within the page.
public GetItemAtIndex ( int index ) : object
index int The index, within the page, from which to get the desired item.
Résultat object

GetItemValueAtIndex() public méthode

Gets the desired item value, by name, from the item at the provided index, within the page.
public GetItemValueAtIndex ( int index, string valueName ) : object
index int The index, within the page, for the item from which to get values.
valueName string The name of the value to read from the desired item.
Résultat object

ODataDataSourcePage() public méthode

public ODataDataSourcePage ( object>.IEnumerable sourceData, IDataSourceSchema schema, int pageIndex ) : System
sourceData object>.IEnumerable
schema IDataSourceSchema
pageIndex int
Résultat System

PageIndex() public méthode

Gets the absolute index of the current page within the data source.
public PageIndex ( ) : int
Résultat int

Schema() public méthode

Gets the schema associated with the items of the current page.
public Schema ( ) : IDataSourceSchema
Résultat IDataSourceSchema