## IEnumerable::begin() method


Gets iterator pointing to the first 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>::begin()
```


### ReturnValue

An iterator pointing to the first element (if any) of the collection

## See Also

* Typedef [iterator](../iterator/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
## IEnumerable::begin() const method


Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection.

```cpp
const_iterator System::Collections::Generic::IEnumerable<T>::begin() const
```


### ReturnValue

An iterator pointing to the first 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++](../../../)
