HtmlWindow::Document Property
.NET Framework (current version)
Gets the HTML document contained within the window.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Windows.Forms::HtmlDocument^A valid instance of HtmlDocument, if a document is loaded. If this window contains a FRAMESET, or no document is currently loaded, it will return null.
Typically, you will access the Document through the Document property of the WebBrowser control. Use this property when you need to access a document within a FRAME using the Frames collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: