FolderDepth FolderDepth FolderDepth FolderDepth FolderDepth Enum


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.

public : enum class FolderDepth
enum class winrt::Windows::Storage::Search::FolderDepth : int32_t
public enum FolderDepth
Public Enum FolderDepth
var value = Windows.Storage.Search.FolderDepth.deep;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Deep Deep Deep Deep Deep 1

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.

Shallow Shallow Shallow Shallow Shallow 0

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.

See also