C# Класс Infragistics.Controls.DataSource.ODataDataSourcePage

Represents a single page of data retreived from the ODataVirtualDataSource
Наследование: IDataSourcePage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Count() публичный Метод

Gets the actual number of records in the current page.
public Count ( ) : int
Результат int

GetItemAtIndex() публичный Метод

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.
Результат object

GetItemValueAtIndex() публичный Метод

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.
Результат object

ODataDataSourcePage() публичный Метод

public ODataDataSourcePage ( object>.IEnumerable sourceData, IDataSourceSchema schema, int pageIndex ) : System
sourceData object>.IEnumerable
schema IDataSourceSchema
pageIndex int
Результат System

PageIndex() публичный Метод

Gets the absolute index of the current page within the data source.
public PageIndex ( ) : int
Результат int

Schema() публичный Метод

Gets the schema associated with the items of the current page.
public Schema ( ) : IDataSourceSchema
Результат IDataSourceSchema