ImapClient.ExistFolder
Contents
[
Hide
]ExistFolder(string)
Check whether this folder exists
public bool ExistFolder(string folderName)
Parameter | Type | Description |
---|---|---|
folderName | String | Name of the folder |
Return Value
Returns true if the folder is existing, otherwise returns false
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ExistFolder(string, out ImapFolderInfo)
Check whether this folder exists, extract folder info if so
public bool ExistFolder(string folderName, out ImapFolderInfo folderInfo)
Parameter | Type | Description |
---|---|---|
folderName | String | Name of the folder |
folderInfo | ImapFolderInfo& | Folder information |
Return Value
Returns true if the folder is existing, otherwise returns false
See Also
- class ImapFolderInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ExistFolder(IConnection, string)
Check whether this folder exists
public bool ExistFolder(IConnection connection, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Name of the folder |
Return Value
Returns true if the folder is existing, otherwise returns false
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ExistFolder(IConnection, string, out ImapFolderInfo)
Check whether this folder exists, extract folder info if so
public bool ExistFolder(IConnection connection, string folderName, out ImapFolderInfo folderInfo)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | String | Name of the folder |
folderInfo | ImapFolderInfo& | Folder information |
Return Value
Returns true if the folder is existing, otherwise returns false
See Also
- interface IConnection
- class ImapFolderInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email