ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / CanRemove<T> Method
The collection view.
The index of the item that would be removed.

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

    Parameters

    collectionView
    The collection view.
    index
    The index of the item that would be removed.

    Type Parameters

    T
    See Also