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

In This Topic
    ReplaceAsync Method (C1DataCollectionHub<T>)
    In This Topic
    Replaces the item at the specified index by the new specified item.
    Syntax
    'Declaration
     
    Public Function ReplaceAsync( _
       ByVal eTag As Guid, _
       ByVal index As Integer, _
       ByVal item As T _
    ) As Task(Of Integer)
    public Task<int> ReplaceAsync( 
       Guid eTag,
       int index,
       T item
    )

    Parameters

    eTag
    The token that determines whether the calling collection is synchronized.
    index
    The index.
    item
    The item.
    See Also