Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1SpanDataCollection<T> Class / InsertAsync Method
The index where the item will be inserted.
The item to be inserted.

In This Topic
    InsertAsync Method (C1SpanDataCollection<T>)
    In This Topic
    Inserts the specified item at the specified index in the collection.
    Syntax
    'Declaration
     
    
    Public Overrides Function InsertAsync( _
       ByVal index As Integer, _
       ByVal item As Object _
    ) As Task(Of Integer)
    public override Task<int> InsertAsync( 
       int index,
       object item
    )

    Parameters

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