---
title: "Aspose::Email::Mapi::KnownPropertyList::AttachContentId method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/attachcontentid/"
product: "Aspose.Email for C++"
description: "Contains a content identifier unique to the Message object that matches a corresponding Area: Message Attachment Properties Canonical name: PidTagAttachContentI"
---


## AttachContentId {#attachcontentid}

Contains a content identifier unique to the Message object that matches a corresponding Area: Message Attachment Properties Canonical name: PidTagAttachContentId Alternate names: PR_ATTACH_CONTENT_ID, PR_ATTACH_CONTENT_ID_A, PR_ATTACH_CONTENT_ID_W

**Returns:** System::SharedPtr < PidTagPropertyDescriptor > Aspose::Email::Mapi::

```cpp
AttachContentId()
```

