Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows 10 Mobile

Namespace

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

Metadata

Windows.winmd

See also

QueryOptions

 

 

Show:
© 2015 Microsoft