| ImapGetFoldersAsync Method (FolderInfo, SubFolders) |
Lists all folders (mailboxes) under specified folder (mailbox).
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<List<FolderInfo>> GetFoldersAsync(
FolderInfo parent,
SubFolders subFolders
)
Public Function GetFoldersAsync (
parent As FolderInfo,
subFolders As SubFolders
) As Task(Of List(Of FolderInfo))
public:
Task<List<FolderInfo^>^>^ GetFoldersAsync(
FolderInfo^ parent,
SubFolders subFolders
)
member GetFoldersAsync :
parent : FolderInfo *
subFolders : SubFolders -> Task<List<FolderInfo>>
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:
TaskListFolderInfoFolder list.
See Also