---
title: "Aspose::Email::Mapi::MapiCalendarExceptionInfo::get_HasAttachment method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapicalendarexceptioninfo/get_hasattachment/"
product: "Aspose.Email for C++"
description: "Gets a value of this field specifies whether the Exception Embedded Message object contains attachments"
---


## get_HasAttachment {#get_hasattachment}

Gets a value of this field specifies whether the Exception Embedded Message object contains attachments

**Returns:** bool Aspose::Email::Mapi::

```cpp
get_HasAttachment()
```

