[]
        
(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?
Public Shared Function GetLoadedItems(Of T As Class)(dataCollection As IDataCollection(Of T), Optional fromIndex As Integer? = Nothing, Optional toIndex As Integer? = Nothing) As IEnumerable(Of ILoadedItem(Of T))
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