---
title: "Aspose::Email::Mapi::KnownPropertyList::GetEnumerator method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/getenumerator/"
product: "Aspose.Email for C++"
description: "Returns an enumerator that iterates through the collection."
---


## GetEnumerator {#getenumerator}

Returns an enumerator that iterates through the collection.

**Returns:** A System.Collections.Generic.IEnumerator that can be used to iterate through the collection.

```cpp
GetEnumerator()
```

