Windows Dev Center

LocalContentSuggestionSettings.Enabled | enabled property

Indicates whether suggestions based on local files are displayed in the search pane.

Syntax


var enabled = localContentSuggestionSettings.enabled;
localContentSuggestionSettings.enabled = enabled;

Property value

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

True if suggestions from local files are displayed; otherwise, false. The default value of the object is false.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.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

Quickstart: Adding search
Search contract sample
Reference
Object class
LocalContentSuggestionSettings class
SearchPane.SetLocalContentSuggestionSettings method

 

 

Show:
© 2015 Microsoft