interface ICoreWebView2_20
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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應