Preferences.Remove Method

Definition

Overloads

Remove(String)

Removes a key and its associated value if it exists.

Remove(String, String)

Removes a key and its associated value if it exists.

Remove(String)

Removes a key and its associated value if it exists.

public static void Remove (string key);

Parameters

key
String

Preference key.

Applies to

Remove(String, String)

Removes a key and its associated value if it exists.

public static void Remove (string key, string sharedName);

Parameters

key
String

Preference key.

sharedName
String

Shared container name.

Applies to