The OpenD Programming Language

ICoreWebView2FrameInfo2.get_FrameId

The unique identifier of the frame associated with the current FrameInfo. It's the same kind of ID as with the FrameId in CoreWebView2 and via CoreWebView2Frame. FrameId will only be populated (non-zero) when obtained calling CoreWebView2ProcessExtendedInfo.AssociatedFrameInfos. CoreWebView2FrameInfo objects obtained via CoreWebView2.ProcessFailed will always have an invalid frame Id 0. Note that this FrameId could be out of date as it's a snapshot. If there's WebView2 created or destroyed or FrameCreated/FrameDestroyed events after the asynchronous call CoreWebView2Environment.GetProcessExtendedInfos starts, you may want to call asynchronous method again to get the updated FrameInfos.

interface ICoreWebView2FrameInfo2
@" propget"
HRESULT
get_FrameId
(
UINT32* id
)

Meta