ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / CanInsert<T> Method
The collection view.
The index where the items would be inserted.

In This Topic
    CanInsert<T> Method (ICollectionViewEx)
    In This Topic
    Determines whether a new item can be inserted in the collection at the specified index.
    Syntax
    'Declaration
     
    Public Shared Function CanInsert(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal index As System.Integer _
    ) As System.Boolean
    public static System.bool CanInsert<T>( 
       ICollectionView<T> collectionView,
       System.int index
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    index
    The index where the items would be inserted.

    Type Parameters

    T
    See Also