HtmlElement::Document Property
.NET Framework (current version)
Gets the HtmlDocument to which this element belongs.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Some HTML pages can host frames using the FRAMESET tags. In this case, each individual FRAME element will contain its own instance of HtmlDocument. This property is most useful when you have received a reference to an element in an event handler from the HtmlElementEventArgs, and need to perform some action on the document in which the element resides.
.NET Framework
Available since 2.0
Available since 2.0
Show: