Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1CacheDataCollection<T> Class / ReplaceAsync Method

In This Topic
    ReplaceAsync Method (C1CacheDataCollection<T>)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overridable Function ReplaceAsync( _
       ByVal index As Integer, _
       ByVal item As T, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    public virtual Task<int> ReplaceAsync( 
       int index,
       T item,
       CancellationToken cancellationToken
    )

    Parameters

    index
    item
    cancellationToken
    See Also