SearchPaneResultSuggestionChosenEventArgs.Tag | tag property

Applies to Windows only

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

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:
© 2014 Microsoft