NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IUndoService.AddAction (IActionUnit)

Adds an action unit to the undo stack.

[Visual Basic]
Overloads Sub AddAction( _
   ByVal action As IActionUnit _
)
[C#]
void AddAction(
   IActionUnit action
);
[C++]
void AddAction(
   IActionUnit* action
) = 0;
[JScript]
function AddAction(
   action : IActionUnit
);

Parameters

action
The action to perform and add to the undo stack.

Remarks

If this action is undone, it will be added to the redo stack, if appropriate. The action will be executed when it is added, so this method expects the action to be in the "REDO" state.

See Also

IUndoService Interface | IUndoService Members | System.ComponentModel.Design Namespace | IUndoService.AddAction Overload List | IActionUnit