共用方式為


ObservableSettingsListBase<TValue>.ClearAsync Method

Definition

Overloads

ClearAsync(Object)
ClearAsync(Object, CancellationToken)

Clears all keys and values stored on the list.

ClearAsync(Object)

protected:
 virtual System::Threading::Tasks::Task ^ ClearAsync(System::Object ^ state);
protected virtual System.Threading.Tasks.Task ClearAsync (object state);
abstract member ClearAsync : obj -> System.Threading.Tasks.Task
override this.ClearAsync : obj -> System.Threading.Tasks.Task
Protected Overridable Function ClearAsync (state As Object) As Task

Parameters

state
Object

Returns

Applies to

ClearAsync(Object, CancellationToken)

Clears all keys and values stored on the list.

public:
 virtual System::Threading::Tasks::Task ^ ClearAsync(System::Object ^ state, System::Threading::CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task ClearAsync (object state, System.Threading.CancellationToken cancellationToken);
abstract member ClearAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ClearAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ClearAsync (state As Object, cancellationToken As CancellationToken) As Task

Parameters

state
Object
cancellationToken
CancellationToken

Returns

Applies to