共用方式為


event property

Sets or retrieves the event for which the script is written.

 

Syntax

HRESULT value = object.put_event( v);HRESULT value = object.get_event(* p);

Property values

Type: BSTR

The event. The value for an HTMLFrameSiteEvents::onmouseover event, for example, is "onmouseover()".

Standards information

See also

event