CFPreferences.GetAppIntegerValue 方法

定义

重载

GetAppIntegerValue(String, String)

为指定应用程序获取由 key标识的首选项整数值。

GetAppIntegerValue(String)

为当前应用程序获取由 key标识的首选项整数值。

GetAppIntegerValue(String, NSString)

为指定应用程序获取由 key标识的首选项整数值。

GetAppIntegerValue(String, String)

为指定应用程序获取由 key标识的首选项整数值。

public static nint GetAppIntegerValue (string key, string applicationId);
static member GetAppIntegerValue : string * string -> nint

参数

key
String
applicationId
String

返回

System.System.IntPtr System.nativeint

适用于

GetAppIntegerValue(String)

为当前应用程序获取由 key标识的首选项整数值。

public static nint GetAppIntegerValue (string key);
static member GetAppIntegerValue : string -> nint

参数

key
String

返回

System.System.IntPtr System.nativeint

适用于

GetAppIntegerValue(String, NSString)

为指定应用程序获取由 key标识的首选项整数值。

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

参数

key
String
applicationId
NSString

返回

System.System.IntPtr System.nativeint

适用于