SearchBox.setLocalContentSuggestionSettings method

Applies to Windows only

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Winjs.js

See also

SearchBox

 

 

Show:
© 2015 Microsoft