Click or drag to resize

ImapGetFoldersTree Method (FolderInfo, SubFolders)

Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public List<FolderInfo> GetFoldersTree(
	FolderInfo parent,
	SubFolders subFolders
)

Parameters

parent
Type: Limilabs.Client.IMAPFolderInfo
Parent folder (mailbox) to start search from.
subFolders
Type: Limilabs.Client.IMAPSubFolders
Indicates how many sub folder levels should be downloaded.

Return Value

Type: ListFolderInfo
Folder tree roots (use SubFolders to access sub folders).
See Also