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 FrameInfo
s.
Summary
Members | Descriptions |
---|---|
get_HasCurrent | TRUE when the iterator has not run out of FrameInfo s. |
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 FrameInfo
s.
public HRESULT get_HasCurrent(BOOL * hasCurrent)
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 ** frameInfo)
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 * hasNext)
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기