[]
        
(Showing Draft Content)

C1.DataCollection.C1CursorDataCollection-2.RemoveAsyncOverride

RemoveAsyncOverride Method

RemoveAsyncOverride(int, CancellationToken)

This method is called when an item is removed from the collection.

Declaration
protected virtual Task RemoveAsyncOverride(int index, CancellationToken cancellationToken)
Parameters
Type Name Description
int index

The index of the removed item.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Remarks

CanRemove(int) must return true to enable this method.