Edit

Share via


Folder.Empty(DeleteMode, Boolean) Method

Definition

Empties the folder. Optionally, enables you to empty subfolders.

public:
 void Empty(Microsoft::Exchange::WebServices::Data::DeleteMode deleteMode, bool deleteSubFolders);
public void Empty (Microsoft.Exchange.WebServices.Data.DeleteMode deleteMode, bool deleteSubFolders);

Parameters

deleteMode
DeleteMode

The deletion mode.

deleteSubFolders
Boolean

true to indicate that subfolders should also be deleted; otherwise, false.

Applies to