IEWSClient.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
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- 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.
See Also
- class ExchangeFolderInfo
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email