MonobjcMonobjc Documented Class Library
LocalizedStringForKeyValueTable Method (key, value, tableName)
NamespacesMonobjc.FoundationNSBundleLocalizedStringForKeyValueTable(NSString, NSString, NSString)

Returns a localized version of the string designated by the specified key and residing in the specified table.

Original signature is '- (NSString *)localizedStringForKey:(NSString *)key value:(NSString *)value table:(NSString *)tableName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString LocalizedStringForKeyValueTable(
	NSString key,
	NSString value,
	NSString tableName
Public Overridable Function LocalizedStringForKeyValueTable ( _
	key As NSString, _
	value As NSString, _
	tableName As NSString _
) As NSString
virtual NSString^ LocalizedStringForKeyValueTable(
	NSString^ key, 
	NSString^ value, 
	NSString^ tableName
key (NSString)
The key for a string in the table identified by tableName.
value (NSString)
The value to return if key is nil or if a localized string for key can’t be found in the table.
tableName (NSString)
The receiver’s string table to search. If tableName is nil or is an empty string, the method attempts to use the table in Localizable.strings.
Return Value
A localized version of the string designated by key in table tableName. If value is nil or an empty string, and a localized string is not found in the table, returns key. If key and value are both nil, returns the empty string.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)