---
title: "Aspose::Email::Mapi::MapiPropertyCollection::get_Keys method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapipropertycollection/get_keys/"
product: "Aspose.Email for C++"
description: "Gets a System.Collections.Generic.ICollection containing the keys in the collection."
---


## get_Keys {#get_keys}

Gets a System.Collections.Generic.ICollection<long> containing the keys in the collection.

**Returns:** System::SharedPtr <System::Collections::Generic::ICollection<int64_t> > Aspose::Email::Mapi::

```cpp
get_Keys()
```

