Ews.FolderExists Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
FolderExists(EwsFolderId, String)
Detects whether a folder with specified name exists under a parent folder.
Declaration
public bool FolderExists(EwsFolderId parentId, string name)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | parentId | ID of a folder where to find requested folder name. |
String | name | Name of the folder to be found. |
Returns
Type | Description |
---|---|
Boolean | True if folder exists; false otherwise. |
FolderExists(EwsFolderId)
Detects whether a folder with specified ID still exists.
Declaration
public bool FolderExists(EwsFolderId id)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | id | ID of a folder. |
Returns
Type | Description |
---|---|
Boolean | True if folder exists; false otherwise. |