type property

Sets or retrieves the event name from the event object. For the later standards based property, see IDOMEvent::type.

Syntax

HRESULT value = object.put_type( v);HRESULT value = object.get_type(* p);

Property values

Type: BSTR

the event name.

Standards information

Remarks

Events are returned without the "on" prefix. For example, the HTMLFrameSiteEvents::onclick event is returned as "click".