Deletes an item specified by its ID. Use DeleteMode to specify whether to delete item permanently or move it to Deleted Items folder.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Sub DeleteItem ( _
	itemId As EwsItemId _
)
C#
public void DeleteItem(
	EwsItemId itemId
)

Parameters

itemId
Type: Rebex.Net..::..EwsItemId
ID of an item to delete.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also