---
title: "Aspose::Email::Clients::Exchange::RuleActions::get_Delete method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/ruleactions/get_delete/"
product: "Aspose.Email for C++"
description: "Gets a value indicating whether messages are to be moved to the Deleted Items folder."
---


## get_Delete {#get_delete}

Gets a value indicating whether messages are to be moved to the Deleted Items folder.

**Returns:** bool Aspose::Email::Clients::Exchange::

```cpp
get_Delete()
```

