Gets whether the current action can be added to the IUndoService implementation.
[Visual Basic] Function CanAddAction( _ ByVal action As IActionUnit _ ) As Boolean [C#] bool CanAddAction( IActionUnit action ); [C++] bool CanAddAction( IActionUnit* action ) = 0; [JScript] function CanAddAction( action : IActionUnit ) : Boolean;
true if the action can be added; otherwise, false.
If action requires a parent action or the service is currently not accepting new actions, it will return false.
IUndoService Interface | IUndoService Members | System.ComponentModel.Design Namespace