interface ICoreWebView2FrameInfoCollectionIterator

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2FrameInfoCollectionIterator
  : public IUnknown

Iterator for a collection of FrameInfos.

Summary

Members Descriptions
get_HasCurrent TRUE when the iterator has not run out of FrameInfos.
GetCurrent Get the current ICoreWebView2FrameInfo of the iterator.
MoveNext Move the iterator to the next FrameInfo in the collection.

For more info, see ICoreWebView2ProcessFailedEventArgs2 and ICoreWebView2FrameInfoCollection.

Applies to

Product Introduced
WebView2 Win32 1.0.818.41
WebView2 Win32 Prerelease 1.0.824

Members

get_HasCurrent

TRUE when the iterator has not run out of FrameInfos.

public HRESULT get_HasCurrent(BOOL * value)

If the collection over which the iterator is iterating is empty or if the iterator has gone past the end of the collection, then this is FALSE.

GetCurrent

Get the current ICoreWebView2FrameInfo of the iterator.

public HRESULT GetCurrent(ICoreWebView2FrameInfo ** value)

Returns HRESULT_FROM_WIN32(ERROR_INVALID_INDEX) if HasCurrent is FALSE.

MoveNext

Move the iterator to the next FrameInfo in the collection.

public HRESULT MoveNext(BOOL * value)