DataCollection | ComponentOne
C1.DataCollection.SignalR.Client Assembly / C1.DataCollection.SignalR.Client Namespace / C1ProxyDataCollection<T> Class / RemoveAsyncOverride Method
The index of the removed item.
The cancellation token.

In This Topic
    RemoveAsyncOverride Method (C1ProxyDataCollection<T>)
    In This Topic
    This method is called when an item is removed from the collection.
    Syntax
    'Declaration
     
    Protected Overrides Function RemoveAsyncOverride( _
       ByVal index As Integer, _
       ByVal cancellationToken As CancellationToken _
    ) As Task
    protected override Task RemoveAsyncOverride( 
       int index,
       CancellationToken cancellationToken
    )

    Parameters

    index
    The index of the removed item.
    cancellationToken
    The cancellation token.
    Remarks
    CanRemove must return true to enable this method.
    See Also