MonobjcMonobjc Documented Class Library
PreferredLocalizationsFromArrayForPreferences Method (localizationsArray, preferencesArray)
NamespacesMonobjc.FoundationNSBundlePreferredLocalizationsFromArrayForPreferences(NSArray, NSArray)

Returns the localizations that a bundle object would prefer, given the specified bundle and user preference localizations.

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

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray PreferredLocalizationsFromArrayForPreferences(
	NSArray localizationsArray,
	NSArray preferencesArray
)
Public Shared Function PreferredLocalizationsFromArrayForPreferences ( _
	localizationsArray As NSArray, _
	preferencesArray As NSArray _
) As NSArray
public:
static NSArray^ PreferredLocalizationsFromArrayForPreferences(
	NSArray^ localizationsArray, 
	NSArray^ preferencesArray
)
Parameters
localizationsArray (NSArray)
An array of NSString objects, each of which specifies the name of a localization that the bundle supports.
preferencesArray (NSArray)
An array of NSString objects containing the user's preferred localizations. If this parameter is nil, the method uses the current user's localization preferences.
Return Value
An array of NSString objects containing the preferred localizations. These strings are ordered in the array according to the specified 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)