ComponentOne Xamarin.iOS
CanInsert<T> Method (ICollectionViewEx)


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : CanInsert<T> Method
The collection view.
The index where the items would be inserted.
Determines whether a new item can be inserted in the collection at the specified index.
Syntax
'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
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members