DataRecordsetChangedEvent Object (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Passed by Microsoft Visio as the pSubjectObj argument to the VisEventProc method of the IVisEventProc interface when events related to refreshing a data recordset fire.

Note Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

To handle event notifications in Visio, create a class module that implements the IVisEventProc interface in Microsoft Visual Basic for Applications (VBA) or Microsoft Visual Basic, and then create an instance of this class to pass as an argument to the AddAdvise method of the EventList collection.

When data recordset rows are added, changed, or deleted, and when data recordset columns are added or deleted, in each case as a result of a data recordset being refreshed, properties of the DataRecordsetChangedEvent object that is passed to the VisEventProc method return arrays of the affected rows or columns.

All properties of the DataRecordsetChangedEvent object are read-only.