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)
Syntax
声明
ReadOnly Property LastUndoTransaction As ITextUndoTransaction
ITextUndoTransaction LastUndoTransaction { get; }
property ITextUndoTransaction^ LastUndoTransaction {
ITextUndoTransaction^ get ();
}
abstract LastUndoTransaction : ITextUndoTransaction
function get LastUndoTransaction () : ITextUndoTransaction
Property Value
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The most recent (top) item of the UndoStack, or nulla null reference (Nothing in Visual Basic) if the stack is empty.
.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.