HtmlWindow.Parent 属性

定义

获取位于包含框架的页面中的当前窗口的上方。

public:
 property System::Windows::Forms::HtmlWindow ^ Parent { System::Windows::Forms::HtmlWindow ^ get(); };
public System.Windows.Forms.HtmlWindow Parent { get; }
public System.Windows.Forms.HtmlWindow? Parent { get; }
member this.Parent : System.Windows.Forms.HtmlWindow
Public ReadOnly Property Parent As HtmlWindow

属性值

HtmlWindow拥有当前窗口的窗口。 如果当前窗口不是 FRAME或未嵌入到其中 FRAME,则返回 null

注解

在包含框架的文档中,每个 FRAME 框架在 FRAMESET 页面上充当单独的子窗口。 每个FRAME项的父级包含 FRAMESET .FRAME

适用于

另请参阅