ITextUndoTransaction::Cancel Method ()

 

Marks an open transaction as canceled, but the modification is left in the file. Since the state of the buffer doesn't match the undo/redo stacks, any further attempt to undo/redo will either throw exceptions or corrupt the buffer.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

void Cancel()
Return to top
Show: