ComponentOne Xamarin.Android
CanRemove<T> Method (ICollectionViewEx)


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : CanRemove<T> Method
The collection view.
The index of the item that would be removed.
Determines whether the item at the specified index can be removed from the collection.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function CanRemove(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.CanRemove(Of T)(collectionView, index)
[Extension()]
public static bool CanRemove<T>( 
   ICollectionView<T> collectionView,
   int index
)
where T: class

Parameters

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

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members