---
title: "Aspose::Email::Mapi::MapiContactPropertySet::SetStringProperty method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapicontactpropertyset/setstringproperty/"
product: "Aspose.Email for C++"
description: "SetStringProperty of MapiContactPropertySet."
---


## SetStringProperty (1 of 2) {#setstringproperty_1}

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

```cpp
SetStringProperty(int64_t tag, System::String value, System::String & prop)
```

| Parameter | Description |
| --- | --- |
| tag |  |
| value |  |
| prop |  |

---

## SetStringProperty (2 of 2) {#setstringproperty_2}

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

```cpp
SetStringProperty(MapiNamedPropertyId nameId, System::String value, System::Guid psetId, System::String & prop)
```

| Parameter | Description |
| --- | --- |
| nameId |  |
| value |  |
| psetId |  |
| prop |  |

