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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
- id
Type: Guid
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.