---
title: "Aspose::Email::Mapi::MapiMessageItemBase::AddNamedPropertyLong method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapimessageitembase/addnamedpropertylong/"
product: "Aspose.Email for C++"
description: "Adds the named long property."
---


## AddNamedPropertyLong (1 of 2) {#addnamedpropertylong_1}

Adds the named long property.

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

```cpp
AddNamedPropertyLong(int64_t value, int64_t nameId, System::Guid guid)
```

| Parameter | Description |
| --- | --- |
| value | The value. |
| nameId | The name id. |
| guid | The property GUID. |

---

## AddNamedPropertyLong (2 of 2) {#addnamedpropertylong_2}

Adds the named long property.

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

```cpp
AddNamedPropertyLong(int64_t value, MapiNamedPropertyId nameId, System::Guid guid)
```

| Parameter | Description |
| --- | --- |
| value | The value. |
| nameId | The name id. |
| guid | The property GUID. |

