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


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : RemoveAsync<T> Method
The collection view.
The index of the item that will be removed.
Removes the item at the specified index from the collection.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__56`1)> 
<ExtensionAttribute()> 
Public Shared Function RemoveAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal index As Integer _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim index As Integer
Dim value As Task
 
value = ICollectionViewEx.RemoveAsync(Of T)(collectionView, index)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__56`1)] 
[Extension()] 
public static Task RemoveAsync<T>( 
   ICollectionView<T> collectionView, 
   int index 
) 
where T: class

Parameters

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

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members