ObservableSettingsListBase<TValue>.ClearAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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