共用方式為


CoreWebView2FrameKind Enum

Specifies the frame kind used in CoreWebView2FrameInfo.

Name Value Description
Unknown 0x0 Indicates that the frame is an unknown type frame. We may extend this enum type to identify more frame kinds in the future. For example, if portal frame which current in experimental phase gets finalized, we may extend this to include a new frame kind COREWEBVIEW2_FRAME_KIND_PORTAL.
MainFrame 0x1 Indicates that the frame is a primary main frame(CoreWebView2).
Iframe 0x2 Indicates that the frame is an iframe.
Embed 0x3 Indicates that the frame is an embed element.
Object 0x4 Indicates that the frame is an object element.

Referenced by