Share via


SearchSuggestionManager.SetLocalContentSuggestionSettings Method

Definition

Specifies whether suggestions based on local files are added automatically to the Suggestions collection, and defines the criteria that Windows uses to locate and filter these suggestions.

public:
 virtual void SetLocalContentSuggestionSettings(LocalContentSuggestionSettings ^ settings) = SetLocalContentSuggestionSettings;
void SetLocalContentSuggestionSettings(LocalContentSuggestionSettings const& settings);
public void SetLocalContentSuggestionSettings(LocalContentSuggestionSettings settings);
function setLocalContentSuggestionSettings(settings)
Public Sub SetLocalContentSuggestionSettings (settings As LocalContentSuggestionSettings)

Parameters

settings
LocalContentSuggestionSettings

The new settings for local content suggestions.

Remarks

When local content suggestions are enabled, Windows provides search suggestions from the user's local files as the user enters query text. For example, a picture application can configure local content suggestions so that search suggestions come only from a particular kind of image file that is stored in the user's picture library.

Changing the value of the SetLocalContentSuggestionSettings property doesn't immediately update the suggestions in the Suggestions property. Call SetQuery to update the Suggestions property.

Applies to

See also