Share via


Language.LanguageTag Property

Definition

Gets the normalized BCP-47 language tag for this language.

public:
 property Platform::String ^ LanguageTag { Platform::String ^ get(); };
winrt::hstring LanguageTag();
public string LanguageTag { get; }
var string = language.languageTag;
Public ReadOnly Property LanguageTag As String

Property Value

String

Platform::String

winrt::hstring

The normalized BCP-47 language tag.

Remarks

Language tags support the Unicode extensions "ca-" and "nu-". (See Unicode Key/Type Definitions.) Note that these extensions can affect the calendar used by Calendar objects.

Applies to

See also