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.

FolderDepth enumeration

Applies to Windows only

Indicates whether all files and subfolders of the folder being queried will be enumerated or if only the top-level files and subfolders will be enumerated.

Syntax


var value = Windows.Storage.Search.FolderDepth.shallow;

Attributes

[Version(0x06020000)]

Members

The FolderDepth enumeration has these members.

MemberValueDescription
Shallow | shallow0

Perform a shallow enumeration of the folder being queried. Only the top-level, child files and folders of the folder being queried will be returned. This is similar to the view that Windows Explorer would provide for the folder being queried.

Deep | deep1

Perform a deep enumeration of the folder contents. Windows traverses through subfolders to discover content and presents the results in a single list that combines all discovered content.

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

QueryOptions.FolderDepth

 

 

Show:
© 2014 Microsoft