Windows Dev Center

QueryOptions.UserSearchFilter | userSearchFilter property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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.

Syntax


var userSearchFilter = queryOptions.userSearchFilter;
queryOptions.userSearchFilter = userSearchFilter;

Property value

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

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

Remarks

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows 10 Mobile Insider Preview

Namespace

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

Metadata

Windows.winmd

See also

QueryOptions

 

 

Show:
© 2015 Microsoft