Partager via


ITextUndoTransaction.AddUndo Method

Adds a new undo primitive to the end of the list when the transaction is open.

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

Syntax

'Declaration
Sub AddUndo ( _
    undo As ITextUndoPrimitive _
)
void AddUndo(
    ITextUndoPrimitive undo
)
void AddUndo(
    ITextUndoPrimitive^ undo
)
abstract AddUndo : 
        undo:ITextUndoPrimitive -> unit
function AddUndo(
    undo : ITextUndoPrimitive
)

Parameters

.NET Framework Security

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace