CFPreferences Class

Definition

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 applicationId.

AddSuitePreferencesToApp(String)

Adds the specified suite preferences to the searchable list of suite preferences for the current application.

AddSuitePreferencesToApp(String, String)

Adds the specified suite preferences to the searchable list of suite preferences for the specified applicationId.

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 applicationId, writes all newly set preferences to permanent storage and then loads all existing preferences.

AppSynchronize(String)

For the application that is identified by applicationId, writes all newly set preferences to permanent storage and then loads all existing preferences.

AppValueIsForced(String)

Returns true if the user cannot change the preference that is identified by key, for the current application. Otherwise false.

AppValueIsForced(String, NSString)

Returns true if the user cannot change the preference that is identified by key, for the application that is identified by applicationId. Otherwise false.

AppValueIsForced(String, String)

Returns true if the user cannot change the preference that is identified by key, for the application that is identified by applicationId. Otherwise false.

GetAppBooleanValue(String)

Gets the preference Boolean value that is identified by key, for the current application.

GetAppBooleanValue(String, NSString)

Gets the preference Boolean value that is identified by key, for the specified application.

GetAppBooleanValue(String, String)

Gets the preference Boolean value that is identified by key, for the specified application.

GetAppIntegerValue(String)

Gets the preference integer value that is identified by key, for the current application.

GetAppIntegerValue(String, NSString)

Gets the preference integer value that is identified by key, for the specified application.

GetAppIntegerValue(String, String)

Gets the preference integer value that is identified by key, for the specified application.

GetAppValue(String)

Gets the preference value that is identified by key, for the current application.

GetAppValue(String, NSString)

Gets the preference value that is identified by key, for the specified application.

GetAppValue(String, String)

Gets the preference value that is identified by key, for the specified application.

RemoveAppValue(String)

Removes the preference value that is identified by key, for the current application.

RemoveAppValue(String, NSString)

Removes the preference value that is identified by key, for the specified application.

RemoveAppValue(String, String)

Removes the preference value that is identified by key, for the specified application.

RemoveSuitePreferencesFromApp(NSString, String)

Removes the specified suite preferences from the searchable list of suite preferences for the specified applicationId.

RemoveSuitePreferencesFromApp(String)

Removes the specified suite preferences from the searchable list of suite preferences for the current application.

RemoveSuitePreferencesFromApp(String, String)

Removes the specified suite preferences from the searchable list of suite preferences for the specified applicationId.

SetAppValue(String, Object)

Sets a key-value preference pair 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.

Applies to