EwsGetFolderView Method
Gets FolderView instance tuned for listing all the folders in the account.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public FolderView GetFolderView(
	bool includeSubfolders
)

Parameters

includeSubfolders
Type: SystemBoolean
If true, subfolders will also be requested; otherwise, only current level folders will be requested.

Return Value

Type: FolderView
A FolderView instance you can then pass to DownloadFolders(FolderId, FolderView, SearchFilter, bool) method which actually downloads the requested folder list.
Remarks
Although you can construct FolderView objects manually, you can also use this helper method for this. Or, you can use DownloadFolders(FolderId, bool, bool) overload which does not require FolderView object at all.
See Also