---
title: "Aspose::Email::Mapi::MapiAttachmentCollection::GetNames method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiattachmentcollection/getnames/"
product: "Aspose.Email for C++"
description: "Gets the attachment names separated with comma."
---


## GetNames {#getnames}

Gets the attachment names separated with comma.

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

```cpp
GetNames()
```

