ComponentOne Xamarin.Android
InsertAsync Method (C1SortCollectionView<T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1SortCollectionView<T> Class : InsertAsync Method
The index where the item will be inserted.
The item to be inserted.
Inserts the specified item at the specified index in the collection.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1SortCollectionView`1/d__19)> 
Public Overrides Function InsertAsync( _ 
   ByVal index As Integer, _ 
   ByVal addedItem As Object _ 
) As Task(Of Integer)
'Usage
 
Dim instance As C1SortCollectionView(Of T)
Dim index As Integer
Dim addedItem As Object
Dim value As Task(Of Integer)
 
value = instance.InsertAsync(index, addedItem)
[AsyncStateMachine(C1.CollectionView.C1SortCollectionView`1/d__19)] 
public override Task<int> InsertAsync( 
   int index, 
   object addedItem 
)

Parameters

index
The index where the item will be inserted.
addedItem
The item to be inserted.
See Also

Reference

C1SortCollectionView<T> Class
C1SortCollectionView<T> Members