Enables or disables the current undo service.
[Visual Basic] Sub SetEnabledAutoReset( _ ByVal value As Boolean _ ) [C#] void SetEnabledAutoReset( bool value ); [C++] void SetEnabledAutoReset( bool value ) = 0; [JScript] function SetEnabledAutoReset( value : Boolean );
If a current batch operation is in progress, the enabled state will automatically be reset to true when the batch operation is completed. If enabled is set to false, any added actions are ignored.
IUndoService Interface | IUndoService Members | System.ComponentModel.Design Namespace