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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈