EwsDownloadFolderById Method (FolderId, PropertySet)
Gets the reference to the folder with given ID in the MS Exchange account, also requesting the specified properties.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public EwsFolder DownloadFolderById(
	FolderId id,
	PropertySet propSet
)

Parameters

id
Type: FolderId
The folder's EWS ID.
propSet
Type: PropertySet
Extra properties of the folder to request from the Exchange server. If a null reference (Nothing in Visual Basic), basic properties are requested.

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.
Remarks

This method is useful if you need to get info for special folders like Sent Items (such as via passing folder's WellKnownFolderName). This particular overload is for advanced purposes if you need property set different from those provided by basic DownloadFolderById(FolderId) overload.

See Also