IStorageFolderQueryOperations.CreateFolderQuery(CommonFolderQuery) method

Applies to Windows only

Retrieves an object with the specified options for enumerating folders in a storage location and subscribing to events that fire when the contents of the storage location change.

Syntax


StorageFolderQueryResult CreateFolderQuery(
  CommonFolderQuery query
)

Parameters

query

Type: CommonFolderQuery

The type of folder query to perform. This parameter defaults to CommonFolderQuery.DefaultQuery.

Return value

Type: StorageFolderQueryResult

An object for enumerating folders and subscribing to events.

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
CreateFolderQuery

 

 

Show:
© 2014 Microsoft