Windows Dev Center

SearchPaneResultSuggestionChosenEventArgs.Tag | tag property

The tag for the suggested result that the user selected.

Syntax


var tag = searchPaneResultSuggestionChosenEventArgs.tag;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The app-defined tag for the selected search result.

Remarks

The value of this tag is set by the app when it appends the suggested result to a searchSuggestionCollection.

You can use this property to display the view for the result the user selected.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.ApplicationModel.Search.SearchContract, introduced version 1.0

Namespace

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

Metadata

Windows.ApplicationModel.Search.SearchContract.winmd

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

Reference
SearchPane class
SearchPane.ResultSuggestionChosen event
SearchPaneResultSuggestionChosenEventArgs class
SearchSuggestionCollection class
SearchSuggestionCollection.AppendResultSuggestion method

 

 

Show:
© 2015 Microsoft