CFPreferences Class
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.
A collection of utility methods for setting Core Foundation preferences.
public static class CFPreferences
type CFPreferences = class
- Inheritance
-
CFPreferences
Fields
CurrentApplication |
The current application. |
Methods
AddSuitePreferencesToApp(NSString, String) |
Adds the specified suite preferences to the searchable list of suite preferences for the specified |
AddSuitePreferencesToApp(String, String) |
Adds the specified suite preferences to the searchable list of suite preferences for the specified |
AddSuitePreferencesToApp(String) |
Adds the specified suite preferences to the searchable list of suite preferences for the current application. |
AppSynchronize() |
For the current application, writes all newly set preferences to permanent storage and then loads all existing preferences. |
AppSynchronize(NSString) |
For the application that is identified by |
AppSynchronize(String) |
For the application that is identified by |
AppValueIsForced(String, NSString) |
Returns |
AppValueIsForced(String, String) |
Returns |
AppValueIsForced(String) |
Returns |
GetAppBooleanValue(String, NSString) |
Gets the preference Boolean value that is identified by |
GetAppBooleanValue(String, String) |
Gets the preference Boolean value that is identified by |
GetAppBooleanValue(String) |
Gets the preference Boolean value that is identified by |
GetAppIntegerValue(String, NSString) |
Gets the preference integer value that is identified by |
GetAppIntegerValue(String, String) |
Gets the preference integer value that is identified by |
GetAppIntegerValue(String) |
Gets the preference integer value that is identified by |
GetAppValue(String, NSString) |
Gets the preference value that is identified by |
GetAppValue(String, String) |
Gets the preference value that is identified by |
GetAppValue(String) |
Gets the preference value that is identified by |
RemoveAppValue(String, NSString) |
Removes the preference value that is identified by |
RemoveAppValue(String, String) |
Removes the preference value that is identified by |
RemoveAppValue(String) |
Removes the preference value that is identified by |
RemoveSuitePreferencesFromApp(NSString, String) |
Removes the specified suite preferences from the searchable list of suite preferences for the specified |
RemoveSuitePreferencesFromApp(String, String) |
Removes the specified suite preferences from the searchable list of suite preferences for the specified |
RemoveSuitePreferencesFromApp(String) |
Removes the specified suite preferences from the searchable list of suite preferences for the current application. |
SetAppValue(String, Object, NSString) |
Sets a key-value preference pair for the specified application. |
SetAppValue(String, Object, String) |
Sets a key-value preference pair for the specified application. |
SetAppValue(String, Object) |
Sets a key-value preference pair for the current application. |