Edit

Share via


Conversation.DeleteItems(FolderId, DeleteMode) Method

Definition

Deletes items in the conversation.

public:
 void DeleteItems(Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, Microsoft::Exchange::WebServices::Data::DeleteMode deleteMode);
public void DeleteItems (Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, Microsoft.Exchange.WebServices.Data.DeleteMode deleteMode);

Parameters

contextFolderId
FolderId

The folder identifier of the folder that contains the conversation items to delete. If this argument is set to a null reference (Nothing in Visual Basic), all items in a conversation across an entire mailbox are deleted.

deleteMode
DeleteMode

The deletion mode.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to