Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- undo
 Type: Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitive
 The undo primitive.
.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.