Share via


UndoManager.Undo Method

Definition

Overloads

Undo()

Undo the actions of the topmost transaction on undo stack.

Undo(Guid)

Undo the actions committed in the transaction whose id is passed in. Make sure the id passed in is the transaction that is on top of the stack. Otherwise throw an exception.

Undo()

Undo the actions of the topmost transaction on undo stack.

public:
 bool Undo();
public bool Undo ();
member this.Undo : unit -> bool
Public Function Undo () As Boolean

Returns

Applies to

Undo(Guid)

Undo the actions committed in the transaction whose id is passed in. Make sure the id passed in is the transaction that is on top of the stack. Otherwise throw an exception.

public:
 bool Undo(Guid id);
public bool Undo (Guid id);
member this.Undo : Guid -> bool
Public Function Undo (id As Guid) As Boolean

Parameters

id
Guid

Returns

Applies to