HtmlWindow::DomWindow Property

 

Gets the unmanaged interface wrapped by this class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property Object^ DomWindow {
	Object^ get();
}

Property Value

Type: System::Object^

An object that can be cast to an IHTMLWindow2, IHTMLWindow3, or IHTMLWindow4 pointer.

Use the underlying unmanaged interface pointers to the Document Object Model (DOM) to execute methods not exposed by HtmlWindow.

You must add a referenced to the unmanaged MSHTML.dll in order to use DomWindow. For more information, see Importing a Type Library as an Assembly.

The following code example obtains an IHTMLWindow2 pointer from a document's window and displays a new document in a modal window.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: