_Document.UndoClear 方法

定义

清除可对指定文档撤消的操作列表。Clears the list of actions that can be undone for the specified document. 对应于单击常用工具栏上的撤消按钮旁边的箭头时出现的项目列表。Corresponds to the list of items that appears when you click the arrow beside the Undo button on the Standard toolbar.

public:
 void UndoClear();
public void UndoClear ();
abstract member UndoClear : unit -> unit
Public Sub UndoClear ()

注解

使用此方法可使编程操作不会显示在 "撤消" 框中。Use this method to keep programmatic actions from appearing in the Undo box.

适用于