EwsDownloadFolderByShortName Method
Gets the reference to the given folder in the MS Exchange account.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
Syntax
public EwsFolder DownloadFolderByShortName(
	FolderId parentFolderId,
	string folderName
)

Parameters

parentFolderId
Type: FolderId
The ID of the parent folder where to search for the given folder. If a null reference (Nothing in Visual Basic), RootFolderType will be assumed.
folderName
Type: SystemString
The folder name. Null reference 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

parentFolderId must be the immediate parent of folderName folder. Also, folderName must be a short name (not a full name with nested folder names in it).

You can use DownloadFolderByFullName(FolderId, string) method to search for a folder by its full name.

Note Note
This method is not implemented in .NET Core. Use DownloadFolderByShortNameAsync(FolderId, String) instead.
See Also