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.

Syntax

Declaration

public enum FolderDepthpublic enum FolderDepthPublic Enum FolderDepthpublic enum FolderDepth

Fields

Deep
Deep
Deep
Deep

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

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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Search.dll