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

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

    Parameters

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

    Type Parameters

    T
    See Also