Partager via


ITextUndoHistory.UndoStack Property

The undo stack for this history. It does not include any currently open or redo transactions.

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

Syntax

'Declaration
ReadOnly Property UndoStack As IEnumerable(Of ITextUndoTransaction)
IEnumerable<ITextUndoTransaction> UndoStack { get; }
property IEnumerable<ITextUndoTransaction^>^ UndoStack {
    IEnumerable<ITextUndoTransaction^>^ get ();
}
abstract UndoStack : IEnumerable<ITextUndoTransaction> with get
function get UndoStack () : IEnumerable<ITextUndoTransaction>

Property Value

Type: IEnumerable<ITextUndoTransaction>
The undo stack for this history.

Remarks

The top item of this stack is the most recent transaction, and the bottom is the oldest transaction

.NET Framework Security

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace