SearchPane.Language SearchPane.Language SearchPane.Language SearchPane.Language SearchPane.Language Property

Definition

The Internet Engineering Task Force (IETF) language tag (BCP 47 standard) that identifies the language currently associated with the user's text input device.

public : Platform::String Language { get; }
winrt::hstring Language();
public string Language { get; }
Public ReadOnly Property Language As string
var string = searchPane.language;

Property Value

string string string

The Internet Engineering Task Force (IETF) BCP 47 standard language tag.

Remarks

Note

An app can't use both the search box (Windows.UI.Xaml.Controls.SearchBox for UWP app using C++, C#, or Visual Basic, WinJS.UI.SearchBox for Windows app using JavaScript) and the SearchPane. Using both the search box and the search pane in the same app causes the app to throw an exception with this message: "Cannot create instance of type 'Windows.UI.Xaml.Controls.SearchBox.'"

See also