Table of contents

DataRecordsets.BeforeDataRecordsetDelete 事件 (Visio)DataRecordsets.BeforeDataRecordsetDelete Event (Visio)

office 365 dev account|上次更新日期: 2018/3/13
2 参与人员

DataRecordsets集合中删除的数据记录集对象之前发生。Occurs before a DataRecordset object is deleted from the DataRecordsets collection.

请注意 此 Visio 对象或成员是仅供授权用户的 Visio 专业 2013年。Note This Visio object or member is available only to licensed users of Visio Professional 2013.


专用子_表达式__BeforeDataRecordsetDelete( ByVal 作为 IVDATARECORDSET 的数据记录集)Private Sub expressionBeforeDataRecordsetDelete( **_ByVal DataRecordset As IVDATARECORDSET** )

表达式_该表达式返回一个DataRecordsets对象。_expression An expression that returns a DataRecordsets object.


名称Name必需/可选Required/Optional数据类型Data Type说明Description
数据记录集DataRecordset必需Required[IVDATARECORDSET][IVDATARECORDSET]要删除的数据记录集。The data recordset that is going to be deleted.


如果您使用 Microsoft Visual Basic 或 Visual Basic for Applications (VBA),则此主题中的语法描述的是一种通用而有效的事件处理方法。If you're using Microsoft Visual Basic or Visual Basic for Applications (VBA), the syntax in this topic describes a common, efficient way to handle events.

如果您想要创建您自己的事件对象,使用添加AddAdvise方法。若要创建一个事件对象,运行加载项,请使用Add方法,应用到事件列表集合。若要创建一个事件对象,该对象接收通知,请使用AddAdvise方法。若要查找您想要创建的事件的事件代码,请参阅事件代码If you want to create your own Event objects, use the Add or AddAdvise method. To create an Event object that runs an add-on, use the Add method as it applies to the EventList collection. To create an Event object that receives notification, use the AddAdvise method. To find an event code for the event you want to create, seeEvent codes.

© 2018 Microsoft