---
title: "Aspose::Page::XPS::XpsModel::XpsElement::GetEnumerator method"
url: "https://reference.aspose.com/page/cpp/aspose.page.xps.xpsmodel/xpselement/getenumerator/"
product: "Aspose.Page for C++"
description: "Aspose::Page::XPS::XpsModel::XpsElement::GetEnumerator method. Implementation of System::Collections::Generic::IEnumerable interface in C++."
---

## XpsElement::GetEnumerator method


Implementation of [System::Collections::Generic::IEnumerable<XpsContentElement>](../../../system.collections.generic/ienumerable/) interface.

```cpp
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<XpsContentElement>>> Aspose::Page::XPS::XpsModel::XpsElement::GetEnumerator() override
```


### ReturnValue

Returns enumerator for the list.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerator](../../../system.collections.generic/ienumerator/)
* Class [XpsContentElement](../../xpscontentelement/)
* Class [XpsElement](../)
* Namespace [Aspose::Page::XPS::XpsModel](../../)
* Library [Aspose.Page for C++](../../../)
