EwsDownloadFolderByFullName Method (String)
Gets the reference to the folder denoted by its full name in the MS Exchange account.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public EwsFolder DownloadFolderByFullName(
	string folderFullName
)

Parameters

folderFullName
Type: SystemString
The full folder name, such as "Inbox/Nested folder/Deeply nested folder". Null reference (Nothing in Visual Basic) or empty string not allowed.

Return Value

Type: EwsFolder
The EwsFolder object if the folder exists; otherwise, a null reference (or if an error occurred and ThrowExceptions is false).
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks

To delimit levels of hierarchy in the folder name, use the same character which is set by FolderLevelDelimiter property. By default, it's '/' (forward slash).

Note Note
Scanning the entire folder tree is an expensive operation. If your Exchange account has thousands of folders, consider optimizations like those provided by DownloadFolderByFullName(FolderId, string) or DownloadFolderByFullName(string, int) overloads.
Note Note
This method is not implemented in .NET Core. Use DownloadFolderByFullNameAsync(String) instead.
See Also