SearchSuggestionsRequest.IsCanceled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the request for suggestions to display is canceled.
public:
property bool IsCanceled { bool get(); };
bool IsCanceled();
public bool IsCanceled { get; }
var boolean = searchSuggestionsRequest.isCanceled;
Public ReadOnly Property IsCanceled As Boolean
Property Value
bool
true
if the request was canceled; otherwise, false
. The default is false
.
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.
A request for search pane or in-app search box suggestions is valid if it's still tied to the most recent SuggestionsRequested event, which means that the user hasn't changed the search query.