interface ICoreWebView2_20
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
interface ICoreWebView2_20
: public ICoreWebView2_19
This interface is an extension of ICoreWebView2_19 that provides the FrameId
property.
Summary
Members | Descriptions |
---|---|
get_FrameId | The unique identifier of the main frame. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.2210.55 |
WebView2 Win32 Prerelease | 1.0.2357 |
Members
get_FrameId
The unique identifier of the main frame.
public HRESULT get_FrameId(UINT32 * id)
It's the same kind of ID as with the FrameId
in CoreWebView2Frame
and via CoreWebView2FrameInfo
. Note that FrameId
may not be valid if CoreWebView2
has not done any navigation. It's safe to get this value during or after the first ContentLoading
event. Otherwise, it could return the invalid frame Id 0.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기