Share via


ProtectedBrowserStorage.DeleteAsync(String) Method

Definition

Asynchronously deletes any data stored for the specified key.

public:
 System::Threading::Tasks::ValueTask DeleteAsync(System::String ^ key);
public System.Threading.Tasks.ValueTask DeleteAsync (string key);
member this.DeleteAsync : string -> System.Threading.Tasks.ValueTask
Public Function DeleteAsync (key As String) As ValueTask

Parameters

key
String

A String value specifying the name of the storage slot whose value should be deleted.

Returns

A ValueTask representing the completion of the operation.

Applies to