Aracılığıyla paylaş


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 @CoreWebView2ProcessExtendedInfo.AssociatedFrameInfos. @CoreWebView2ProcessExtendedInfo.CoreWebView2FrameInfo objects obtained via @CoreWebView2.ProcessFailed will always have the default value @CoreWebView2FrameKind$.Other.

Name

Gets the name attribute of the frame, as in <iframe name="frame-name">...</iframe>.

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