次の方法で共有


interface ICoreWebView2Frame5

Note

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

interface ICoreWebView2Frame5
  : public ICoreWebView2Frame4

This is an extension of the ICoreWebView2Frame interface that provides the FrameId property.

Summary

Members Descriptions
get_FrameId The unique identifier of the current frame.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease

Members

get_FrameId

The unique identifier of the current frame.

public HRESULT get_FrameId(UINT32 * id)

It's the same kind of ID as with the FrameId in CoreWebView2 and via CoreWebView2FrameInfo.