---
title: "Aspose::Email::Mapi::KnownPropertyList::AttachDataBinary method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/attachdatabinary/"
product: "Aspose.Email for C++"
description: "Contains the contents of the file to be attached."
---


## AttachDataBinary {#attachdatabinary}

Contains the contents of the file to be attached. Area: Message Attachment Properties Canonical name: PidTagAttachDataBinary Alternate names: PR_ATTACH_DATA_BIN, ptagAttachDataBin

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

```cpp
AttachDataBinary()
```

