DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanInsertRange<T> Method
The data collection.
The index where the items would be inserted.
The items to be inserted.

In This Topic
    CanInsertRange<T> Method (IDataCollectionEx)
    In This Topic
    Determines whether a new range of items can be inserted in the collection at the specified index.
    Syntax
    'Declaration
     
    Public Shared Function CanInsertRange(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal index As Integer, _
       ByVal items As IEnumerable(Of T) _
    ) As Boolean
    public static bool CanInsertRange<T>( 
       IDataCollection<T> dataCollection,
       int index,
       IEnumerable<T> items
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    index
    The index where the items would be inserted.
    items
    The items to be inserted.

    Type Parameters

    T
    See Also