Represents a language tag for use in XAML markup.
Assembly: PresentationCore (in PresentationCore.dll)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns ainstance, based on a string representing the language per RFC 3066.
Returns the most-closely-related non-neutral CultureInfo for this .
The language tag may or may not have a registered CultureInfo present on the system where the XAML is interpreted.
This class is useful for dealing with values represented using xml:lang in XML.
Language tags can be specified in two-character form or in a hyphenated language-locale form. See RFC 3066.
Note that the XML specification allows the empty string for xml:lang, although that is not permitted by RFC 3066; therefore, thetype permits "" (empty attribute string). A default-constructed behaves as if constructed with "" (empty string).
Language prefix, using the ISO 639-1 language prefix values. For example "en", or "zh". Uppercase values are accepted and converted to lowercase. This may also be an empty attribute, "".
If provided, must be preceded by a single hyphen. Then, a subcode as defined by RFC 3066. The most typical usage, and the one which is most likely to properly map to a CultureInfo, is a country or regional designation such as "-us" or "-hk". Uppercase values are accepted and converted to lowercase.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.