HtmlDocument.Window 属性

定义

HtmlWindow获取与此文档关联的内容。

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

属性值

本文档的窗口。

注解

所有 HTML 文档都有一个名为窗口的 HTML DOM 对象,该对象可用于操作文档的屏幕大小并打开新窗口,以及访问其他重要对象,例如 HtmlHistory

适用于

另请参阅