QueryOptions.ApplicationSearchFilter | applicationSearchFilter property

0 out of 1 rated this helpful - Rate this topic

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

Syntax


var applicationSearchFilter = queryOptions.applicationSearchFilter;
queryOptions.applicationSearchFilter = applicationSearchFilter;

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

The application search filter should always use locale-invariant AQS syntax (such as "System.FileName" instead of "filename" (because the term "filename" that is associated with the property System.FileName is localized differently in different languages). This will ensure that the query returns the expected results on systems with non-English locales. Windows builds the search query by combining this property with the UserSearchFilter property.

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

QueryOptions

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.