SearchSuggestionsRequest class

SearchSuggestionsRequest class

Stores suggestions and information about the request for suggestions.

Syntax


var searchSuggestionsRequest = request;

Members

The SearchSuggestionsRequest class has these types of members:

Methods

The SearchSuggestionsRequest class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetDeferral Gets an object that lets an app respond to a request for suggestions asynchronously.

 

Properties

The SearchSuggestionsRequest class has these properties.

PropertyAccess typeDescription

IsCanceled

Read-only

Indicates whether the request for suggestions to display is canceled.

SearchSuggestionCollection

Read-only

The suggestions to display in the search pane or in-app search box for the current query. Apps provide suggestions to display by appending them to this SearchSuggestionCollection object.

 

Remarks

If your app provides its own suggestions to display in the search pane or in-app search box, use the SearchSuggestionCollection property to add your app's suggestions to the collection of suggestions to display.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

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

See also

Object

 

 

Show:
© 2016 Microsoft