---
title: "Aspose::Email::Mapi::MapiAttachment::get_DisplayName method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiattachment/get_displayname/"
product: "Aspose.Email for C++"
description: "Gets the display name of the ole object in an attachment."
---


## get_DisplayName {#get_displayname}

Gets the display name of the ole object in an attachment.

**Returns:** System::String Aspose::Email::Mapi::

```cpp
get_DisplayName()
```

