Windows.Foundation.Collections.IIterator.Current

May 24, 2022 ยท View on GitHub

-description

Gets the current item in the collection.

-property-value

The current item in the collection.

-remarks

It is an error to access this property if the iterator has no current item.

If the underlying collection has changed, the iterator may throw an exception.

.NET Framework If the underlying collection has changed, the iterator may throw a COMException exception with an HResult of 0x8000000C (E_CHANGED_STATE).

C++/WinRT If the underlying collection has changed, the iterator may throw a hresult_changed_state exception.

C++/CX If the underlying collection has changed, the iterator may throw a ChangedStateException exception.

-examples

-see-also

IIterator<T>