---
title: "Aspose::Email::Mapi::KnownPropertyList::AttachExtension method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/attachextension/"
product: "Aspose.Email for C++"
description: "Contains a file name extension that indicates the document type of an attachment."
---


## AttachExtension {#attachextension}

Contains a file name extension that indicates the document type of an attachment. Area: Message Attachment Properties Canonical name: PidTagAttachExtension Alternate names: PR_ATTACH_EXTENSION, PR_ATTACH_EXTENSION_A, PR_ATTACH_EXTENSION_W

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

```cpp
AttachExtension()
```

