Dela via


Language.AbbreviatedName Property

Definition

Gets the three-letter abbreviation for a BCP-47 language tag. For example, "en-US" is converted to "eng".

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

Property Value

String

Platform::String

winrt::hstring

The three letter abbreviation.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to