MonobjcMonobjc Documented Class Library
LocalizedStringWithFormat Method (format, values)
NamespacesMonobjc.FoundationNSStringLocalizedStringWithFormat(NSString, array<Object>[]()[][])

Returns a string created by using a given format string as a template into which the remaining argument values are substituted according to the user's default locale.

Original signature is '+ (id)localizedStringWithFormat:(NSString *)format...'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSString LocalizedStringWithFormat(
	NSString format,
	params Object[] values
)
Public Shared Function LocalizedStringWithFormat ( _
	format As NSString, _
	ParamArray values As Object() _
) As NSString
public:
static NSString^ LocalizedStringWithFormat(
	NSString^ format, 
	... array<Object^>^ values
)
Parameters
format (NSString)
MISSING
values (array<Object>[]()[][])
MISSING
Return Value
A string created by using format as a template into which the following argument values are substituted according to the formatting information to the user's default locale.
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)