FolderNestingLevel Property
Gets the level of nesting of this folder into parent folders.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public int NestingLevel { get; }

Property Value

Type: Int32
A zero-based integer value indicating the level of nesting of this folder into parent folders if any. If the folder is a top level folder, this value is 0.
Remarks

For instance, if the full name of the folder is "Inbox/Orders/April 2006" and Delimiter is "/", this property will return 2.

The common use of this property is displaying folder list with indentations according to folder nesting levels. You can find the corresponding code sample in DownloadFolders topic.
See Also