FolderNestingLevel Property |
Gets the level of nesting of this folder into parent folders.
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public int NestingLevel { get; }
Public ReadOnly Property NestingLevel As Integer
Get
Property Value
Type:
Int32A 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