SearchPaneQueryLinguisticDetails class

Applies to Windows only

Provides information about query text that the user enters through an Input Method Editor (IME).

Syntax

Public NotInheritable Class SearchPaneQueryLinguisticDetails

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The SearchPaneQueryLinguisticDetails class has these types of members:

Properties

The SearchPaneQueryLinguisticDetails class has these properties.

PropertyAccess typeDescription

QueryTextAlternatives

Read-onlyA list of the text alternatives for the current query text. These alternatives account for uncomposed text the user is entering in an IME.

QueryTextCompositionLength

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

QueryTextCompositionStart

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

 

Remarks

An app retrieves this object through the searchPaneQueryChangedEventArgs.linguisticDetails property while handling a querychanged event or through the searchPaneSuggestionsRequestedEventArgs.linguisticDetails property while handling a suggestionsrequested event.

Examples

The Search contract sample demonstrates how to respond to a suggestionsrequested event, including how to access the event's linguistic details.

No code example is currently available or this language may not be supported.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Search
Windows::ApplicationModel::Search [C++]

Metadata

Windows.winmd

See also

Search contract sample
SearchPane.QueryChanged event
SearchPaneQueryChangedEventArgs class
SearchPaneQueryChangedEventArgs.LinguisticDetails property
SearchPane.SuggestionsRequested event
SearchPaneSuggestionsRequestedEventArgs class
SearchPaneSuggestionsRequestedEventArgs.LinguisticDetails property

 

 

Show:
© 2014 Microsoft