編輯

共用方式為


CFPreferences.GetAppBooleanValue Method

Definition

Overloads

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.

GetAppBooleanValue(String)

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

public static bool GetAppBooleanValue (string key);
static member GetAppBooleanValue : string -> bool

Parameters

key
String

Returns

Applies to

GetAppBooleanValue(String, NSString)

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

public static bool GetAppBooleanValue (string key, Foundation.NSString applicationId);
static member GetAppBooleanValue : string * Foundation.NSString -> bool

Parameters

key
String
applicationId
NSString

Returns

Applies to

GetAppBooleanValue(String, String)

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

public static bool GetAppBooleanValue (string key, string applicationId);
static member GetAppBooleanValue : string * string -> bool

Parameters

key
String
applicationId
String

Returns

Applies to