ITextUndoHistory.LastUndoTransaction Property

Gets the most recent (top) item of the UndoStack.

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

ITextUndoTransaction LastUndoTransaction { get; }

Property Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The most recent (top) item of the UndoStack, or null if the stack is empty.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft