NSBundle.GetLocalizedString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetLocalizedString(NSString, NSString, NSString) |
Gets the localized string for the string that is identified by the provided |
GetLocalizedString(String, String, String) |
Gets the localized string for the string that is identified by the provided |
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.