XmlLanguage.GetLanguage Method (String)
Returns a XmlLanguage instance, based on a string representing the language per RFC 3066.
Assembly: PresentationCore (in PresentationCore.dll)
This method is effectively the constructor.
The language string may be empty, or else must conform to RFC 3066 rules:
The first subtag must consist of only ASCII letters.
Additional subtags must consist ASCII letters or numerals.
Subtags are separated by a single hyphen character.
Every subtag must be 1 to 8 characters long.
No leading or trailing hyphens are permitted.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0