IPreferences.Remove(String, String) Method

Definition

Removes a key and its associated value if it exists.

public void Remove (string key, string? sharedName = default);
abstract member Remove : string * string -> unit
Public Sub Remove (key As String, Optional sharedName As String = Nothing)

Parameters

key
String

The key to remove.

sharedName
String

Shared container name.

Applies to