Click to return to the Reusing Browser Technology home page    
IHTMLEventObj::get_y Meth...     IHTMLEventObj2::get_bookm...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLEventObj2 Interface


This interface provides access to the IHTMLEventObj interface and to other properties of the event, such as attributes and bookmarks.

IHTMLEventObj2 Methods

get_bookmarks Returns a collection of bookmarks affected by the current event.
getAttribute Retrieves the value of the given attribute.
IHTMLEventObj2:get_dataTransfer Retrieves the IHTMLDataTransfer interface pointer of the event object.
IHTMLEventObj2:get_propertyname Retrieves the property name of the attribute that has changed in the onpropertychange event.
removeAttribute Removes the given attribute from the element.
setAttribute Sets the value of the given attribute. If the attribute is not already present, the method adds the attribute to the element and sets the value.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.