MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
227 stars 493 forks source link

Document typical invalidation for IVectorView and IIterator #1269

Open DefaultRyan opened 4 years ago

DefaultRyan commented 4 years ago

In every conforming implementation I've seen for IVector, when the vector contents are modified, it will invalidate all previously obtained views (IVectorView) and iterators (IIterator), causing them to return E_CHANGED_STATE on subsequent operations.

This HRESULT is projected as:

It would be extremely helpful to note this as the typical behavior, as well as providing guidance for implementers.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ChrisGuzak commented 4 years ago

1271 is related