DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanRemoveRange<T> Method
The data collection.
The index of the item that would be removed.
The number of items to be removed.

In This Topic
    CanRemoveRange<T> Method (IDataCollectionEx)
    In This Topic
    Determines whether the items at the specified index can be removed from the collection.
    Syntax
    'Declaration
     
    Public Shared Function CanRemoveRange(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) As Boolean
    public static bool CanRemoveRange<T>( 
       IDataCollection<T> dataCollection,
       int index,
       int count
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    index
    The index of the item that would be removed.
    count
    The number of items to be removed.

    Type Parameters

    T
    See Also