編輯

共用方式為


NSString.GetLocalizedUserNotificationString Method

Definition

Overloads

GetLocalizedUserNotificationString(NSString, NSObject[])
GetLocalizedUserNotificationString(String, NSObject[])
Obsolete.

GetLocalizedUserNotificationString(NSString, NSObject[])

[Foundation.Export("localizedUserNotificationStringForKey:arguments:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSString GetLocalizedUserNotificationString (Foundation.NSString key, params Foundation.NSObject[] arguments);
static member GetLocalizedUserNotificationString : Foundation.NSString * Foundation.NSObject[] -> Foundation.NSString

Parameters

key
NSString
arguments
NSObject[]

Returns

Attributes

Applies to

GetLocalizedUserNotificationString(String, NSObject[])

Caution

Use 'GetLocalizedUserNotificationString' that takes 'NSString' to preserve localization.

[System.Obsolete("Use 'GetLocalizedUserNotificationString' that takes 'NSString' to preserve localization.")]
public static string GetLocalizedUserNotificationString (string key, params Foundation.NSObject[] arguments);
static member GetLocalizedUserNotificationString : string * Foundation.NSObject[] -> string

Parameters

key
String
arguments
NSObject[]

To be added.

This parameter can be null.

Returns

Attributes

Applies to