Partager via


IRowPositionChange

IRowPositionChange is the callback interface that a consumer must support in order to be notified when the current row position is changed.

The row position object supports IConnectionPointContainer, and the consumer calls FindConnectionPoint for IID_IRowPositionChange to obtain the correct IConnectionPoint interface. The consumer then advises that connection point to connect and supplies a pointer to the consumer's IRowPositionChange interface.

For more information about notifications, see OLE DB Object Notifications.

When to Implement

IRowPositionChange is implemented by consumers that require notification about changes to the current row position.

When to Call

IRowPositionChange is called by the row position object when a consumer attempts to change the current row position.

Method

Description

OnRowPositionChange

Notifies the consumer of a row position object of a change to the current row position.