---
title: "Aspose::Email::Mapi::MapiContactNamePropertySet::set_MiddleName method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapicontactnamepropertyset/set_middlename/"
product: "Aspose.Email for C++"
description: "Sets the middle name of the contact"
---


## set_MiddleName {#set_middlename}

Sets the middle name of the contact

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

```cpp
set_MiddleName(System::String value)
```

| Parameter | Description |
| --- | --- |
| value |  |

