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.2.0 build 630 for .NET 4.5
public FolderView GetFolderView(
	bool 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.
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