MonobjcMonobjc Documented Class Library
ComponentsFromLocaleIdentifier Method (string)
NamespacesMonobjc.FoundationNSLocaleComponentsFromLocaleIdentifier(NSString)

Returns a dictionary that is the result of parsing a locale ID.

Original signature is '+ (NSDictionary *)componentsFromLocaleIdentifier:(NSString *)string'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDictionary ComponentsFromLocaleIdentifier(
	NSString string
)
Public Shared Function ComponentsFromLocaleIdentifier ( _
	string As NSString _
) As NSDictionary
public:
static NSDictionary^ ComponentsFromLocaleIdentifier(
	NSString^ string
)
Parameters
string (NSString)
A locale ID, consisting of language, script, country, variant, and keyword/value pairs, for example, "en_US@calendar=japanese".
Return Value
A dictionary that is the result of parsing string as a locale ID. The keys are the constant NSString constants corresponding to the locale ID components, and the values correspond to constants where available. For the complete set of dictionary keys, see “Constants.”
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)