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
System.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
System.String

Preference key.

sharedName
System.String

Shared container name.

Applies to