---
title: "Aspose::Email::Storage::Pst::FolderInfo::ChangeMessages method"
url: "https://reference.aspose.com/email/cpp/aspose.email.storage.pst/folderinfo/changemessages/"
product: "Aspose.Email for C++"
description: "Changes all messages in folder."
---


## ChangeMessages (1 of 2) {#changemessages_1}

Changes all messages in folder.

**Returns:** void Aspose::Email::Storage::Pst::

```cpp
ChangeMessages(System::SharedPtr < Mapi::MapiPropertyCollection > updatedProperties)
```

| Parameter | Description |
| --- | --- |
| updatedProperties | The updated properties. |

---

## ChangeMessages (2 of 2) {#changemessages_2}

Changes the messages in folder.

**Returns:** void Aspose::Email::Storage::Pst::

```cpp
ChangeMessages(System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> entryIdCollection, System::SharedPtr < Mapi::MapiPropertyCollection > updatedProperties)
```

| Parameter | Description |
| --- | --- |
| entryIdCollection | The entry identifier collection. |
| updatedProperties | The updated properties. |

