DataCollection | ComponentOne
C1.DataCollection.SignalR.Server Assembly / C1.DataCollection.SignalR.Server Namespace / C1DataCollectionHub<T> Class / InsertAsync Method
The token that determines whether the calling collection is synchronized.
The index where the item will be inserted.
The item to be inserted.

In This Topic
    InsertAsync Method (C1DataCollectionHub<T>)
    In This Topic
    Inserts the specified item at the specified index in the collection.
    Syntax
    'Declaration
     
    Public Function InsertAsync( _
       ByVal eTag As Guid, _
       ByVal index As Integer, _
       ByVal addedItem As T _
    ) As Task(Of Integer)
    public Task<int> InsertAsync( 
       Guid eTag,
       int index,
       T addedItem
    )

    Parameters

    eTag
    The token that determines whether the calling collection is synchronized.
    index
    The index where the item will be inserted.
    addedItem
    The item to be inserted.
    See Also