---
title: "Aspose::Email::Mapi::MapiPropertyCollection::Clear method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapipropertycollection/clear/"
product: "Aspose.Email for C++"
description: "Removes all of the elements from the collection."
---


## Clear {#clear}

Removes all of the elements from the collection.

**Returns:** void Aspose::Email::Mapi::

```cpp
Clear()
```

