InsertAsync<T> Method (ICollectionViewEx)
In This Topic
Inserts the specified item at the specified index in the collection.
Syntax
'Declaration
Public Shared Function InsertAsync(Of As Class)( _
ByVal As ICollectionView(Of T), _
ByVal As System.Integer, _
ByVal As _
) As System.Threading.Tasks.Task(Of Integer)
public static System.Threading.Tasks.Task<int> InsertAsync<>(
ICollectionView<T> ,
System.int ,
)
where T: class
Parameters
- collectionView
- The collection view.
- index
- The index where the item will be inserted.
- item
- The item to be inserted.
Type Parameters
- T
See Also