Edit

Share via


NSBundle.GetLocalizedString Method

Definition

Overloads

GetLocalizedString(NSString, NSString, NSString)

Gets the localized string for the string that is identified by the provided key into table, or value if no string is found.

GetLocalizedString(String, String, String)

Gets the localized string for the string that is identified by the provided key into table, or value if no string is found.

GetLocalizedString(NSString, NSString, NSString)

Gets the localized string for the string that is identified by the provided key into table, or value if no string is found.

[Foundation.Export("localizedStringForKey:value:table:")]
public virtual Foundation.NSString GetLocalizedString (Foundation.NSString key, Foundation.NSString value, Foundation.NSString table);
abstract member GetLocalizedString : Foundation.NSString * Foundation.NSString * Foundation.NSString -> Foundation.NSString
override this.GetLocalizedString : Foundation.NSString * Foundation.NSString * Foundation.NSString -> Foundation.NSString

Parameters

key
NSString

The key for the string

value
NSString

The value to use if no string exists at the key.

table
NSString

The table in which to look up the keyed value.

Returns

The localized string for the string that is identified by the provided key into table, or value if no string is found.

Attributes

Applies to

GetLocalizedString(String, String, String)

Gets the localized string for the string that is identified by the provided key into table, or value if no string is found.

public Foundation.NSString GetLocalizedString (string key, string value = null, string table = null);
member this.GetLocalizedString : string * string * string -> Foundation.NSString

Parameters

key
String

The key for the string

value
String

The value to use if no string exists at the key.

table
String

The table in which to look up the keyed value.

Returns

The localized string for the string that is identified by the provided key into table, or value if no string is found.

Applies to