type property

[This documentation is preliminary and is subject to change.]

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(BSTR* p);

Property values

Type: BSTR

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

Standards information

Remarks

The 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 createEvent and initEvent methods.

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

See also

initEvent

 

 

Build date: 1/23/2012