
## SetProperty (1 of 3) {#setproperty_1}

Sets the attachment.

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

```cpp
SetProperty(System::SharedPtr < MapiAttachment > value, int64_t signed_, int64_t key)
```

| Parameter | Description |
| --- | --- |
| value | The property value. |
| signed | The value, that indicates that the property is signed. |
| key | The property tag. |

---

## SetProperty (2 of 3) {#setproperty_2}

Sets the recipient.

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

```cpp
SetProperty(System::SharedPtr < MapiRecipient > value, int64_t signed_, int64_t key)
```

| Parameter | Description |
| --- | --- |
| value | The property value. |
| signed | The value, that indicates that the property is signed. |
| key | The property tag. |

---

## SetProperty (3 of 3) {#setproperty_3}

Sets MAPI property.

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

```cpp
SetProperty(System::SharedPtr < PropertyDescriptor > pd, System::SharedPtr < System::Object > value)
```

| Parameter | Description |
| --- | --- |
| pd | The property descriptor. |
| value | The property data. |

