Share via


Language(String) Constructor

Definition

Creates a Language object.

public:
 Language(Platform::String ^ languageTag);
 Language(winrt::hstring const& languageTag);
public Language(string languageTag);
function Language(languageTag)
Public Sub New (languageTag As String)

Parameters

languageTag
String

Platform::String

winrt::hstring

A BCP-47 language tag. See Remarks for Language.

Applies to

See also