SearchQueryLinguisticDetails.QueryTextAlternatives Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = searchQueryLinguisticDetails.queryTextAlternatives;
Public ReadOnly Property QueryTextAlternatives As IReadOnlyList(Of String)
Property Value
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.