| ImapGetFoldersTreeAsync Method (String, 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 Task<List<FolderInfo>> GetFoldersTreeAsync(
string parent,
SubFolders subFolders
)
Public Function GetFoldersTreeAsync (
parent As String,
subFolders As SubFolders
) As Task(Of List(Of FolderInfo))
public:
Task<List<FolderInfo^>^>^ GetFoldersTreeAsync(
String^ parent,
SubFolders subFolders
)
member GetFoldersTreeAsync :
parent : string *
subFolders : SubFolders -> Task<List<FolderInfo>>
Parameters
- parent
- Type: SystemString
Parent folder (mailbox) to start search from. - subFolders
- Type: Limilabs.Client.IMAPSubFolders
Indicates how many sub folder levels should be downloaded.
Return Value
Type:
TaskListFolderInfoFolder tree roots (use
SubFolders to access sub folders).
See Also