IHTMLEventObj::type Property
Gets the event name from the event object.
Syntax
HRESULT IHTMLEventObj::get_type(BSTR *p);
Parameters
- p
Pointer to a variable of type BSTR that receives the event name.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Events are returned without the "on" prefix. For example, the onclick event is returned as "click".