## IEnumerable::end() method


Gets iterator pointing right after the last element (if any) of the collection. This iterator can't be used to change a referenced object because [GetEnumerator()](../getenumerator/) returns a copy-object of T.

```cpp
iterator System::Collections::Generic::IEnumerable<T>::end()
```


### ReturnValue

An iterator pointing right after the last element (if any) of the collection

## See Also

* Typedef [iterator](../iterator/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## IEnumerable::end() const method


Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.

```cpp
const_iterator System::Collections::Generic::IEnumerable<T>::end() const
```


### ReturnValue

An iterator pointing right after the last element (if any) of the const-qualified instance of the collection

## See Also

* Typedef [const_iterator](../const_iterator/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
