Preferences.Remove Method
Definition
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.
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.