---
title: "Aspose::Email::Mapi::KnownPropertyList::AttachmentLinkId method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/attachmentlinkid/"
product: "Aspose.Email for C++"
description: "Contains the type of Message object to which an attachment is linked."
---


## AttachmentLinkId {#attachmentlinkid}

Contains the type of Message object to which an attachment is linked. Area: Message Attachment Properties Canonical name: PidTagAttachmentLinkId Alternate names: PR_ATTACHMENT_LINKID, ptagAttachmentLinkId

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

```cpp
AttachmentLinkId()
```

