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.

C# | Visual Basic | Visual C++ |
public static NSDictionary ComponentsFromLocaleIdentifier( NSString string )
Public Shared Function ComponentsFromLocaleIdentifier ( _ string As NSString _ ) As NSDictionary
public: static NSDictionary^ ComponentsFromLocaleIdentifier( NSString^ string )

- string (NSString)
- A locale ID, consisting of language, script, country, variant, and keyword/value pairs, for example, "en_US@calendar=japanese".

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.”

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)