CFPreferences 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于设置 Core Foundation 首选项的实用工具方法集合。
public static class CFPreferences
type CFPreferences = class
- 继承
-
CFPreferences
字段
| CurrentApplication |
当前应用程序。 |
方法
| AddSuitePreferencesToApp(NSString, String) |
将指定的套件首选项添加到指定 的可搜索套件首选项 |
| AddSuitePreferencesToApp(String) |
将指定的套件首选项添加到当前应用程序的套件首选项的可搜索列表。 |
| AddSuitePreferencesToApp(String, String) |
将指定的套件首选项添加到指定 的可搜索套件首选项 |
| AppSynchronize() |
对于当前应用程序,将所有新设置的首选项写入永久存储,然后加载所有现有首选项。 |
| AppSynchronize(NSString) |
对于由 |
| AppSynchronize(String) |
对于由 |
| AppValueIsForced(String) |
|
| AppValueIsForced(String, NSString) |
|
| AppValueIsForced(String, String) |
|
| GetAppBooleanValue(String) |
获取当前应用程序由 |
| GetAppBooleanValue(String, NSString) |
获取指定应用程序由 |
| GetAppBooleanValue(String, String) |
获取指定应用程序由 |
| GetAppIntegerValue(String) |
为当前应用程序获取由 |
| GetAppIntegerValue(String, NSString) |
获取指定应用程序由 |
| GetAppIntegerValue(String, String) |
获取指定应用程序由 |
| GetAppValue(String) |
获取由 |
| GetAppValue(String, NSString) |
获取由 |
| GetAppValue(String, String) |
获取由 |
| RemoveAppValue(String) |
为当前应用程序删除由 |
| RemoveAppValue(String, NSString) |
删除指定应用程序的 由 标识 |
| RemoveAppValue(String, String) |
删除指定应用程序的 由 标识 |
| RemoveSuitePreferencesFromApp(NSString, String) |
从指定 可搜索的套件首选项列表中删除指定的 |
| RemoveSuitePreferencesFromApp(String) |
从当前应用程序的可搜索套件首选项列表中删除指定的套件首选项。 |
| RemoveSuitePreferencesFromApp(String, String) |
从指定 可搜索的套件首选项列表中删除指定的 |
| SetAppValue(String, Object) |
设置当前应用程序的键值首选项对。 |
| SetAppValue(String, Object, NSString) |
为指定的应用程序设置键值首选项对。 |
| SetAppValue(String, Object, String) |
为指定的应用程序设置键值首选项对。 |