SearchPaneQueryLinguisticDetails.QueryTextAlternatives Property

Definition

Gets a list of the text alternatives for the current query text. These alternatives account for uncomposed text the user is entering in an IME.

public:
 property IVectorView<Platform::String ^> ^ QueryTextAlternatives { IVectorView<Platform::String ^> ^ get(); };
IVectorView<winrt::hstring> QueryTextAlternatives();
public IReadOnlyList<string> QueryTextAlternatives { get; }
var iVectorView = searchPaneQueryLinguisticDetails.queryTextAlternatives;
Public ReadOnly Property QueryTextAlternatives As IReadOnlyList(Of String)

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

A list of the text alternatives for the query text.

Remarks

Important

To implement search in an app for Windows 10 or later, use AutoSuggestBox. See Auto-suggest box for more info.

You should not use Windows.ApplicationModel.Search APIs (SearchPane, SearchContract) or SearchBox APIs in apps for Windows 10 or later.

Applies to

See also