| IMailStoreGetFolder(SpecialFolder) Method |
Get the specified special folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax IMailFolder GetFolder(
SpecialFolder folder
)
Parameters
- folder SpecialFolder
- The type of special folder.
Return Value
IMailFolderThe folder if available; otherwise
null.
Exceptions Remarks
Not all message stores support the concept of special folders,
so this method may return null.
See Also