Ews.DeleteItem Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
DeleteItem(EwsItemId)
Deletes an item specified by its ID. Use DeleteMode to specify whether to delete item permanently or move it to Deleted Items folder.
Declaration
public void DeleteItem(EwsItemId itemId)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of an item to delete. |
DeleteItem(EwsItemId, EwsDeleteMode)
Deletes an item specified by its ID.
Declaration
public void DeleteItem(EwsItemId itemId, EwsDeleteMode deleteMode)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of an item to delete. |
EwsDeleteMode | deleteMode | Specify whether to delete item permanently or move it to Deleted Items folder. |