'Declaration
<ExtensionAttribute()> Public Shared Function CanInsert(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal index As Integer _ ) As Boolean
'Usage
Dim collectionView As ICollectionView(Of T) Dim index As Integer Dim value As Boolean value = ICollectionViewEx.CanInsert(Of T)(collectionView, index)
[Extension()] public static bool CanInsert<T>( ICollectionView<T> collectionView, int index ) where T: class
Parameters
- collectionView
- The collection view.
- index
- The index where the items would be inserted.
Type Parameters
- T