QueryOptions.FolderDepth QueryOptions.FolderDepth QueryOptions.FolderDepth QueryOptions.FolderDepth QueryOptions.FolderDepth Property

Definition

Indicates whether the search query should produce a shallow view of the folder contents or a deep recursive view of all files and subfolder.

public : FolderDepth FolderDepth { get; set; }
FolderDepth FolderDepth();

void FolderDepth(FolderDepth folderdepth);
public FolderDepth FolderDepth { get; set; }
Public ReadWrite Property FolderDepth As FolderDepth
var folderDepth = queryOptions.folderDepth;
queryOptions.folderDepth = folderDepth;

Property Value

A value that indicates how deeply to query the folder. The default value is FolderDepth.Shallow. Predefined queries typically override this property and change it to FolderDepth.Deep.