Folder.Empty(DeleteMode, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.