Share via


UndoManager.Undo Method (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.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Function Undo ( _
    id As Guid _
) As Boolean
public bool Undo(
    Guid id
)
public:
bool Undo(
    Guid id
)
member Undo : 
        id:Guid -> bool 
public function Undo(
    id : Guid
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

UndoManager Class

Undo Overload

Microsoft.VisualStudio.Modeling Namespace