DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / CanReplace Method
The index of the item that would be replaced.
The item that would be replaced.

In This Topic
    CanReplace Method (ISupportRangeEditing<T>)
    In This Topic
    Determines whether the item at the specified index can be replaced in the collection.
    Syntax
    'Declaration
     
    Function CanReplace( _
       ByVal index As Integer, _
       ByVal item As T _
    ) As Boolean
    bool CanReplace( 
       int index,
       T item
    )

    Parameters

    index
    The index of the item that would be replaced.
    item
    The item that would be replaced.
    See Also