ObservableSettingsListBase<TValue>.RemoveAsync Method
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.
RemoveAsync(String, Object) | |
RemoveAsync(String, Object, CancellationToken) |
Removes the value stored under the supplied |
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
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