ExchangeClient.FolderExists
Contents
[
Hide
]FolderExists(string, string)
Checks whether the specified folder exists.
public bool FolderExists(string parentFolderUri, string folderName)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | An uri of parent folder. |
folderName | String | A folder name. |
Return Value
true
if the specified folder exists in the specified parent folder; otherwise, false
.
Exceptions
exception | condition |
---|---|
AsposeArgumentException | parentFolderUri or folderName is null or empty |
See Also
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email
FolderExists(string, string, out ExchangeFolderInfo)
Checks whether the specified folder exists.
public bool FolderExists(string parentFolderUri, string folderName, out ExchangeFolderInfo folder)
Parameter | Type | Description |
---|---|---|
parentFolderUri | String | An uri of parent folder. |
folderName | String | A folder name. |
folder | ExchangeFolderInfo& | A ExchangeFolderInfo that represents the found folder information, if folder exists. |
Return Value
true
if the specified folder exists in the specified parent folder; otherwise, false
.
Exceptions
exception | condition |
---|---|
AsposeArgumentException | parentFolderUri or folderName is null or empty |
See Also
- class ExchangeFolderInfo
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email