Dela via


LocalContentSuggestionSettings Constructor

Definition

Creates a new instance of the LocalContentSuggestionSettings class.

public:
 LocalContentSuggestionSettings();
 LocalContentSuggestionSettings();
public LocalContentSuggestionSettings();
function LocalContentSuggestionSettings()
Public Sub New ()

Remarks

Important

To implement search in an app for Windows 10 or later, use AutoSuggestBox. See Auto-suggest box for more info.

You should not use Windows.ApplicationModel.Search APIs (SearchPane, SearchContract) or SearchBox APIs in apps for Windows 10 or later.

When you create a new LocalContentSuggestionSettings object, the Enabled property is true by default.

Applies to

See also