Share via


SearchSuggestionsRequestedEventArgs Class

Definition

Provides data for the SuggestionsRequested event.

public ref class SearchSuggestionsRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Search.Core.SearchCoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SearchSuggestionsRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Search.Core.SearchCoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SearchSuggestionsRequestedEventArgs
Public NotInheritable Class SearchSuggestionsRequestedEventArgs
Inheritance
Object Platform::Object IInspectable SearchSuggestionsRequestedEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Search.Core.SearchCoreContract (introduced in v1.0)

Remarks

This object is passed to an app's SuggestionsRequested event handler.

Use your app to provide suggestions

There are a few different ways you can get suggestions for your app to provide:

  • From an app-defined, static, local list
  • From a URL that supports suggestions in OpenSearch format
  • From a URL that supports suggestions in XML format

Properties

Language

Gets the Internet Engineering Task Force (IETF) language tag (BCP 47 standard) that identifies the language currently associated with the user's text input device.

LinguisticDetails

Gets an object that provides linguistic information about query text that the user is entering through an Input Method Editor (IME).

QueryText

The text that the app should provide suggestions for and that was in the search box when the SuggestionsRequested event was raised.

Request

Gets an object that stores suggestions and information about the request.

Applies to

See also