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


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

Parameters

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

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members