Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

type property

Gets the name of an event.

Document Object Model (DOM) Level 3 Events Specification, Section 4.1Internet Explorer 9

Syntax

HRESULT value = object.get_type(* p);

Property values

Type: BSTR

The name of the event, such as click or mouseover.

Standards information

Remarks

The IDOMEvent::type property of the event depends on the event. This property can be a standard event type, or it can be a custom user-defined event that you created by using the IDocumentEvent::createEvent and IDOMEvent::initEvent methods.

The IDOMEvent::type property is similar to IHTMLEventObj::type in Windows Internet Explorer 8 and earlier versions.

See also

IDOMEvent::initEvent

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.