DhWindow.getWindowPeer

Overview | Methods | This Package | All Packages

DhWindow.getWindowPeer

Retrieves the underlying HTML peer element for this class.

Syntax

protected  IHTMLWindow2 getWindowPeer()

Return Value

Returns the element peer underlying the HTML peer for this class.

Remarks

This method returns null if the document is not bound to this class. Java code that is running in a trusted environment can freely cast the resulting reference to a specific element peer type (for example, com.ms.wfc.html.om.IHTMLWindow2). This method always returns null if the code is running in a Web server environment.

Calling this method represents a very advanced usage scenario. Typically, you would never use this method.