SearchQueryLinguisticDetails
SearchQueryLinguisticDetails
SearchQueryLinguisticDetails
SearchQueryLinguisticDetails
Class
Definition
Provides information about query text that the user enters through an Input Method Editor (IME).
public : sealed class SearchQueryLinguisticDetails : ISearchQueryLinguisticDetailspublic sealed class SearchQueryLinguisticDetails : ISearchQueryLinguisticDetailsPublic NotInheritable Class SearchQueryLinguisticDetails Implements ISearchQueryLinguisticDetails// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Get this object through the LinguisticDetails property while handling a QueryChanged event or through the LinguisticDetails property while handling a SuggestionsRequested event.
Constructors
SearchQueryLinguisticDetails(IIterable, UInt32, UInt32)
SearchQueryLinguisticDetails(IIterable, UInt32, UInt32)
SearchQueryLinguisticDetails(IIterable, UInt32, UInt32)
SearchQueryLinguisticDetails(IIterable, UInt32, UInt32)
Initializes a new instance of the SearchQueryLinguisticDetails class.
public : SearchQueryLinguisticDetails(IIterable<PlatForm::String> queryTextAlternatives, unsigned int queryTextCompositionStart, unsigned int queryTextCompositionLength)public SearchQueryLinguisticDetails(IEnumerable<String> queryTextAlternatives, UInt32 queryTextCompositionStart, UInt32 queryTextCompositionLength)Public Sub New(queryTextAlternatives As IEnumerable<String>, queryTextCompositionStart As UInt32, queryTextCompositionLength As UInt32)// You can use this method in JavaScript.
- queryTextAlternatives
- IIterable<PlatForm::String> IEnumerable<String> IEnumerable<String> IEnumerable<String>
A list of the text alternatives for the current query text.
- queryTextCompositionStart
- unsigned int UInt32 UInt32 UInt32
The starting location of the text that the user is composing with an Input Method Editor (IME).
- queryTextCompositionLength
- unsigned int UInt32 UInt32 UInt32
The length of the portion of the query text that the user is composing with an Input Method Editor (IME).
Properties
QueryTextAlternatives QueryTextAlternatives QueryTextAlternatives QueryTextAlternatives
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 : IVectorView<string> QueryTextAlternatives { get; }public IReadOnlyList<string> QueryTextAlternatives { get; }Public ReadOnly Property QueryTextAlternatives As IReadOnlyList<string>// You can use this property in JavaScript.
- Value
- IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>
A list of the text alternatives for the query text.
QueryTextCompositionLength QueryTextCompositionLength QueryTextCompositionLength QueryTextCompositionLength
The length of the portion of the query text that the user is composing with an Input Method Editor (IME).
public : unsigned int QueryTextCompositionLength { get; }public uint QueryTextCompositionLength { get; }Public ReadOnly Property QueryTextCompositionLength As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The length of the portion of the query text that the user is composing with an Input Method Editor (IME).
QueryTextCompositionStart QueryTextCompositionStart QueryTextCompositionStart QueryTextCompositionStart
The starting location of the text that the user is composing with an Input Method Editor (IME).
public : unsigned int QueryTextCompositionStart { get; }public uint QueryTextCompositionStart { get; }Public ReadOnly Property QueryTextCompositionStart As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The starting location of the query text that the user is composing with an Input Method Editor (IME).