[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.GetLoadedItems

GetLoadedItems Method

GetLoadedItems<T>(IDataCollection<T>, int?, int?)

Returns all the items that has be loaded so far.

Declaration
public static IEnumerable<ILoadedItem<T>> GetLoadedItems<T>(this IDataCollection<T> dataCollection, int? fromIndex = null, int? toIndex = null) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int? fromIndex

The initial index to start looking for loaded items.

int? toIndex

The final index to stop looking for loaded items.

Returns
Type Description
IEnumerable<ILoadedItem<T>>
Type Parameters
Name Description
T