ObservableSettingsListBase<TValue>.RemoveAsync Method

Definition

Overloads

RemoveAsync(String, Object)
RemoveAsync(String, Object, CancellationToken)

Removes the value stored under the supplied key if any.

RemoveAsync(String, Object)

protected:
 virtual System::Threading::Tasks::Task ^ RemoveAsync(System::String ^ key, System::Object ^ state);
protected virtual System.Threading.Tasks.Task RemoveAsync (string key, object state);
abstract member RemoveAsync : string * obj -> System.Threading.Tasks.Task
override this.RemoveAsync : string * obj -> System.Threading.Tasks.Task
Protected Overridable Function RemoveAsync (key As String, state As Object) As Task

Parameters

key
String
state
Object

Returns

Applies to

RemoveAsync(String, Object, CancellationToken)

Removes the value stored under the supplied key if any.

public virtual System.Threading.Tasks.Task RemoveAsync (string key, object state = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveAsync (key As String, Optional state As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

key
String
state
Object
cancellationToken
CancellationToken

Returns

Applies to