Deletes an item specified by its ID.
Namespace:
Rebex.Net
Assembly:
Rebex.Ews (in Rebex.Ews.dll)
Syntax
Visual Basic |
---|
Public Sub DeleteItem ( _ itemId As EwsItemId, _ deleteMode As EwsDeleteMode _ ) |
C# |
---|
public void DeleteItem( EwsItemId itemId, EwsDeleteMode deleteMode ) |
Parameters
- itemId
- Type: Rebex.Net..::..EwsItemId
ID of an item to delete.
- deleteMode
- Type: Rebex.Net..::..EwsDeleteMode
Specify whether to delete item permanently or move it to Deleted Items folder.