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
COMExceptionexception with an HResult of0x8000000C(E_CHANGED_STATE).
C++/WinRT If the underlying collection has changed, the iterator may throw a
hresult_changed_stateexception.
C++/CX If the underlying collection has changed, the iterator may throw a
ChangedStateExceptionexception.