CoreWebView2FrameInfo Class

Definition

Provides a set of properties for a frame in the CoreWebView2.

public class CoreWebView2FrameInfo
type CoreWebView2FrameInfo = class
Public Class CoreWebView2FrameInfo
Inheritance
CoreWebView2FrameInfo

Properties

FrameId

The unique identifier of the frame associated with the current CoreWebView2FrameInfo. It's the same kind of ID as with the FrameId and FrameId. FrameId will only be populated when obtained calling AssociatedFrameInfos. CoreWebView2FrameInfo objects obtained via ProcessFailed will always have an invalid frame Id 0.

FrameKind

Gets the kind of the frame. FrameKind will only be populated when obtained calling AssociatedFrameInfos. CoreWebView2FrameInfo` objects obtained via ProcessFailed will always have the default value Unknown.

Name

Gets the value of frame's window.name property. The default value equals to frame html tag declaring it, as in <iframe name="frame-name" ...>.

ParentFrameInfo

This parent frame's CoreWebView2FrameInfo. ParentFrameInfo will only be populated when obtained via calling AssociatedFrameInfos. CoreWebView2FrameInfo objects obtained via ProcessFailed will always have a null ParentFrameInfo. This property is also null for the top most document in the CoreWebView2 which has no parent frame.

Source

The URI of the document in the frame.

Applies to