Condividi tramite


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

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

Property Value

Type: System.Collections.Generic.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