IStorageFolderQueryOperations.AreQueryOptionsSupported method

Applies to Windows only

Verifies whether the folder supports the specified search query options (returns true or false).

Syntax


bool AreQueryOptionsSupported(
  QueryOptions queryOptions
)

Parameters

queryOptions

Type: QueryOptions

The search query options to test.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if the folder supports the specified search query options; otherwise false.

Remarks

Not all locations support all query options. Because folders can be retrieved by the picker and you can't control the location, you can use this method to determine whether the location supports a particular query option.

Folders in a library or the HomeGroup support all query options. Other locations only support the following options:

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

IStorageFolderQueryOperations

 

 

Show:
© 2014 Microsoft. All rights reserved.