共用方式為


HTMLObjectElementEvents2 interface

This dispinterface provides a connection point so that an application or control can intercept events fired by an object element.

Members

The HTMLObjectElementEvents2 interface inherits from the IUnknown interface. HTMLObjectElementEvents2 also has these types of members:

  • Events

Events

The HTMLObjectElementEvents2 interface has these events.

Event Description
afterupdate

Fires on a databound object after successfully updating the associated data in the data source object.

beforeupdate

Fires on a databound object before updating the associated data in the data source object.

cellchange

Fires when data changes in the data provider.

dataavailable

Fires periodically as data arrives from data source objects that asynchronously transmit their data.

datasetchanged

Fires when the data set exposed by a data source object changes.

error

Fires when an error occurs during object loading.

errorupdate

Fires on a databound object when an error occurs while updating the associated data in the data source object.

ondatasetcomplete

Fires to indicate that all data is available from the data source object.

readystatechange

Fires when the state of the object has changed.

rowenter

Fires to indicate that the current row has changed in the data source and new data values are available on the object.

rowexit

Fires just before the data source control changes the current row in the object.

rowsdelete

Fires when rows are about to be deleted from the recordset.

rowsinserted

Fires just after new rows are inserted in the current recordset.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll