UndoManager.Undo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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