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
'宣告
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.