SearchSuggestionsRequest.IsCanceled Property

Definition

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

Boolean

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.

Applies to