Share via


QueryOptions.UserSearchFilter Property

Definition

Gets or sets a user-defined Advanced Query Syntax (AQS) string for filtering files by keywords or properties. This property is combined with the ApplicationSearchFilter to create the query's search filter.

public:
 property Platform::String ^ UserSearchFilter { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring UserSearchFilter();

void UserSearchFilter(winrt::hstring value);
public string UserSearchFilter { get; set; }
var string = queryOptions.userSearchFilter;
queryOptions.userSearchFilter = string;
Public Property UserSearchFilter As String

Property Value

String

Platform::String

winrt::hstring

A simple keyword or a string that conforms to Advanced Query Syntax (AQS). For more information, see Using Advanced Query Syntax Programmatically.

Remarks

Windows builds the search query by combining this property with the ApplicationSearchFilter property.

Applies to