_Document.UndoClear Method

Definition

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 ()

Remarks

Use this method to keep programmatic actions from appearing in the Undo box.

Applies to