Delen via


TextElement.Language Property

Definition

Gets or sets localization/globalization language information that applies to a TextElement.

public:
 property Platform::String ^ Language { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Language();

void Language(winrt::hstring value);
public string Language { get; set; }
var string = textElement.language;
textElement.language = string;
Public Property Language As String
<textElement Language="languageString" .../.

Property Value

String

Platform::String

winrt::hstring

A string specifying language and culture that follows the RFC 3066 / ISO 639-1 standards. For example, U.S. English is "en-US".

Applies to