共用方式為


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

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace