## IEnumerator::Current method


Gets current element.

```cpp
virtual const SharedPtr<System::Object> & System::Collections::IEnumerator::Current() const
```


### ReturnValue

Currently referenced element copy.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IEnumerator](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
