MonobjcMonobjc Documented Class Library
PreferredLocalizationsFromArray Method (localizationsArray)

Returns one or more localizations from the specified list that a bundle object would use to locate resources for the current user.

Original signature is '+ (NSArray *)preferredLocalizationsFromArray:(NSArray *)localizationsArray'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray PreferredLocalizationsFromArray(
	NSArray localizationsArray
Public Shared Function PreferredLocalizationsFromArray ( _
	localizationsArray As NSArray _
) As NSArray
static NSArray^ PreferredLocalizationsFromArray(
	NSArray^ localizationsArray
localizationsArray (NSArray)
An array of NSString objects, each of which specifies the name of a localization that the bundle supports.
Return Value
An array of NSString objects containing the preferred localizations. These strings are ordered in the array according to the current user's language preferences and are taken from the strings in the localizationsArray parameter.
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)