Share via


SearchPaneSuggestionsRequestedEventArgs.Request Property

Definition

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

public:
 property SearchPaneSuggestionsRequest ^ Request { SearchPaneSuggestionsRequest ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("ISearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.ApplicationModel.Search.SearchContract)]
SearchPaneSuggestionsRequest Request();
/// [get: Windows.Foundation.Metadata.Deprecated("ISearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")]
SearchPaneSuggestionsRequest Request();
public SearchPaneSuggestionsRequest Request { [Windows.Foundation.Metadata.Deprecated("ISearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.ApplicationModel.Search.SearchContract))] get; }
public SearchPaneSuggestionsRequest Request { [Windows.Foundation.Metadata.Deprecated("ISearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")] get; }
var searchPaneSuggestionsRequest = searchPaneSuggestionsRequestedEventArgs.request;
Public ReadOnly Property Request As SearchPaneSuggestionsRequest

Property Value

The object that stores suggestions and information about the request.

Attributes

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.

The search pane can display 5 suggestions, at most. Additionally, each separator you use takes the place of a suggestion and lowers the number of suggestions that you can display.

Applies to

See also