---
title: "Aspose::Email::Storage::Pst::MessageStore::SetProperty method"
url: "https://reference.aspose.com/email/cpp/aspose.email.storage.pst/messagestore/setproperty/"
product: "Aspose.Email for C++"
description: "Sets the property."
---


## SetProperty {#setproperty}

Sets the property.

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

```cpp
SetProperty(System::SharedPtr < Mapi::MapiProperty > property)
```

| Parameter | Description |
| --- | --- |
| property | The property. |

