
## AddNamedProperty (1 of 15) {#addnamedproperty_1}

Adds the named bool property.

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

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

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

---

## AddNamedProperty (2 of 15) {#addnamedproperty_2}

Adds the named bool property.

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

```cpp
AddNamedProperty(bool value, MapiNamedPropertyId nameId, System::Guid guid)
```

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

---

## AddNamedProperty (3 of 15) {#addnamedproperty_3}

Adds the named property.

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

```cpp
AddNamedProperty(MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid)
```

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

---

## AddNamedProperty (4 of 15) {#addnamedproperty_4}

Adds the named property.

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

```cpp
AddNamedProperty(MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid, System::SharedPtr < System::Collections::Generic::IList< System::SharedPtr < System::Object >>> mvEntries)
```

| Parameter | Description |
| --- | --- |
| type | The data type. |
| data | The property data. |
| nameId | The name id. |
| guid | The property GUID. |
| mvEntries | Multiple values. |

---

## AddNamedProperty (5 of 15) {#addnamedproperty_5}

Adds the named property.

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

```cpp
AddNamedProperty(MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid)
```

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

---

## AddNamedProperty (6 of 15) {#addnamedproperty_6}

Adds the named property.

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

```cpp
AddNamedProperty(MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid, System::SharedPtr < System::Collections::Generic::IList< System::SharedPtr < System::Object >>> mvEntries)
```

| Parameter | Description |
| --- | --- |
| type | The data type. |
| data | The property data. |
| nameId | The name id. |
| guid | The property GUID. |
| mvEntries | Multiple values. |

---

## AddNamedProperty (7 of 15) {#addnamedproperty_7}

Adds the named binary property.

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

```cpp
AddNamedProperty(System::ArrayPtr< uint8_t > value, int64_t nameId, System::Guid guid)
```

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

---

## AddNamedProperty (8 of 15) {#addnamedproperty_8}

Adds the named binary property.

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

```cpp
AddNamedProperty(System::ArrayPtr< uint8_t > value, MapiNamedPropertyId nameId, System::Guid guid)
```

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

---

## AddNamedProperty (9 of 15) {#addnamedproperty_9}

Adds the named datetime property.

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

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

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

---

## AddNamedProperty (10 of 15) {#addnamedproperty_10}

Adds the named datetime property.

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

```cpp
AddNamedProperty(System::DateTime value, MapiNamedPropertyId nameId, System::Guid guid)
```

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

---

## AddNamedProperty (11 of 15) {#addnamedproperty_11}

Adds the named property.

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

```cpp
AddNamedProperty(System::SharedPtr < MapiAttachment > attachment, MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid)
```

| Parameter | Description |
| --- | --- |
| attachment |  |
| type | The data type. |
| data | The property data. |
| nameId | The name id. |
| guid | The property GUID. |

---

## AddNamedProperty (12 of 15) {#addnamedproperty_12}

Adds the named property.

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

```cpp
AddNamedProperty(System::SharedPtr < MapiAttachment > attachment, MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid)
```

| Parameter | Description |
| --- | --- |
| attachment |  |
| type | The data type. |
| data | The property data. |
| nameId | The name id. |
| guid | The property GUID. |

---

## AddNamedProperty (13 of 15) {#addnamedproperty_13}

Adds the named string property.

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

```cpp
AddNamedProperty(System::String value, MapiNamedPropertyId nameId, System::Guid guid)
```

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

---

## AddNamedProperty (14 of 15) {#addnamedproperty_14}

Adds the named string property.

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

```cpp
AddNamedProperty(System::String value, OutlookMessageFormat format, int64_t nameId, System::Guid guid)
```

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

---

## AddNamedProperty (15 of 15) {#addnamedproperty_15}

Adds the named string property.

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

```cpp
AddNamedProperty(System::String value, OutlookMessageFormat format, MapiNamedPropertyId nameId, System::Guid guid)
```

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

