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 As Class)( _
ByVal As ICollectionView(Of T), _
ByVal As System.Integer _
) As System.Boolean
public static System.bool CanInsert<>(
ICollectionView<T> ,
System.int
)
where T: class
Parameters
- collectionView
- The collection view.
- index
- The index where the items would be inserted.
Type Parameters
- T
See Also