setLocalContentSuggestionSettings method

SearchBox.setLocalContentSuggestionSettings method

Applies to Windows only

[SearchBox is no longer available for use as of Windows 10. Instead, use AutoSuggestBox. ]

Specifies whether suggestions based on local files are automatically displayed in the search pane, and defines the criteria that Windows uses to locate and filter these suggestions.

Syntax


searchBox.setLocalContentSuggestionSettings(settings);

Parameters

settings

Type: Windows.ApplicationModel.Search.LocalContentSuggestionSettings

The new settings for local content suggestions.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

SearchBox

 

 

Show:
© 2017 Microsoft