Represents a language tag for use in XAML markup.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|GetEquivalentCulture||Returns the appropriate equivalent CultureInfo for this , if and only if such a CultureInfo is registered for the IetfLanguageTag value of this|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLanguage||Returns a instance, based on a string representing the language per RFC 3066.|
|GetSpecificCulture||Returns the most-closely-related non-neutral CultureInfo for this .|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a String that represents the current . (Overrides Object.ToString().)|
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, the type permits "" (empty attribute string). A default-constructed behaves as if constructed with "" (empty string).
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2