PurgeUndo 方法 (Visio) InvisibleAppInvisibleApp.PurgeUndo method (Visio)

清空 Microsoft Visio 撤消操作的队列。Empties the Microsoft Visio queue of undo actions.

语法Syntax

expressionexpression. PurgeUndo

_表达式_一个代表**InvisibleApp** 对象的变量。expression A variable that represents an InvisibleApp object.

返回值Return value

NothingNothing

注解Remarks

调用PurgeUndo方法后, 在取消调用之前不会执行任何操作。After calling the PurgeUndo method, no operation performed before the call can be reversed.

示例Example

以下 Microsoft Visual Basic for Applications (VBA) 宏显示如何使用PurgeUndo方法清除 "撤消" 列表。This Microsoft Visual Basic for Applications (VBA) macro shows how to use the PurgeUndo method to clear the undo list.

 
Public Sub PurgeUndo_Example() 
 
 Application.PurgeUndo 
 
End Sub

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.