HtmlWindow.Parent 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取位于包含框架的页面中的当前窗口的上方。
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