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.SetEnabledAutoReset

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
);

Parameters

value
true to allow new actions to be added, otherwise false.

Remarks

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.

See Also

IUndoService Interface | IUndoService Members | System.ComponentModel.Design Namespace