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.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 the default hash function. (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 Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.