Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SearchSuggestionCollection.AppendSearchSeparator | appendSearchSeparator method

Applies to Windows only

Appends a text label that is used to separate groups of suggestions in the search pane.

Syntax


searchSuggestionCollection.appendSearchSeparator(label);

Parameters

label

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

The text to use as a separator. This text should be descriptive of any suggestions that are appended after it.

Remarks

The search pane can display 5 suggestions, at most. Additionally, each separator you use takes the place of a suggestion and decreases the number of suggestions that you can display. Learn more about displaying suggestions in Guidelines and checklist for search.

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

Search contract sample
Guidelines and checklist for search
Reference
SearchSuggestionCollection class
SearchPane.SuggestionsRequested event
SearchPaneSuggestionsRequestedEventArgs class
SearchPaneSuggestionsRequestedEventArgs.Request property
SearchPaneSuggestionsRequest class
SearchPaneSuggestionsRequest.SearchSuggestionCollection property

 

 

Show:
© 2015 Microsoft