Ews.FindFolderAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 8.0.9673)
FindFolderAsync(EwsFolderId, String, Object)
Finds a folder with given name in a parent folder.
Declaration
public Task<EwsFolderInfo> FindFolderAsync(EwsFolderId parentId, string name, object state = null)
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. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<EwsFolderInfo> | EwsFolderInfo object if the folder was found; null (Nothing in VB.NET) otherwise. |