DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GetLoadedItems<T> Method
The data collection.
The initial index to start looking for loaded items.
The final index to stop looking for loaded items.

In This Topic
    GetLoadedItems<T> Method (IDataCollectionEx)
    In This Topic
    Returns all the items that has be loaded so far.
    Syntax
    'Declaration
     
    Public Shared Function GetLoadedItems(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       Optional ByVal fromIndex As Nullable(Of Integer), _
       Optional ByVal toIndex As Nullable(Of Integer) _
    ) As IEnumerable(Of ILoadedItem(Of T))
    public static IEnumerable<ILoadedItem<T>> GetLoadedItems<T>( 
       IDataCollection<T> dataCollection,
       Nullable<int> fromIndex,
       Nullable<int> toIndex
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    fromIndex
    The initial index to start looking for loaded items.
    toIndex
    The final index to stop looking for loaded items.

    Type Parameters

    T
    See Also