Jaa


SearchQueryLinguisticDetails(IIterable<String>, UInt32, UInt32) Constructor

Definition

Initializes a new instance of the SearchQueryLinguisticDetails class.

public:
 SearchQueryLinguisticDetails(IIterable<Platform::String ^> ^ queryTextAlternatives, unsigned int queryTextCompositionStart, unsigned int queryTextCompositionLength);
 SearchQueryLinguisticDetails(IIterable<winrt::hstring> const& queryTextAlternatives, uint32_t const& queryTextCompositionStart, uint32_t const& queryTextCompositionLength);
public SearchQueryLinguisticDetails(IEnumerable<string> queryTextAlternatives, uint queryTextCompositionStart, uint queryTextCompositionLength);
function SearchQueryLinguisticDetails(queryTextAlternatives, queryTextCompositionStart, queryTextCompositionLength)
Public Sub New (queryTextAlternatives As IEnumerable(Of String), queryTextCompositionStart As UInteger, queryTextCompositionLength As UInteger)

Parameters

queryTextAlternatives

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

A list of the text alternatives for the current query text.

queryTextCompositionStart
UInt32

unsigned int

uint32_t

The starting location of the text that the user is composing with an Input Method Editor (IME).

queryTextCompositionLength
UInt32

unsigned int

uint32_t

The length of the portion of the query text that the user is composing with an Input Method Editor (IME).

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