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!

IDesignerHost.AddOnBatchOperation

Adds an event handler for the System.ComponentModel.Design.IDesignerHost.BatchOperation event.

[Visual Basic]
Sub AddOnBatchOperation( _
   ByVal handler As BatchOperationEventHandler _
)
[C#]
void AddOnBatchOperation(
   BatchOperationEventHandler handler
);
[C++]
void AddOnBatchOperation(
   BatchOperationEventHandler* handler
) = 0;
[JScript]
function AddOnBatchOperation(
   handler : BatchOperationEventHandler
);

Parameters

handler
An EventHandler that represents the method that will handle the System.ComponentModel.Design.IDesignerHost.BatchOperation event.

Remarks

Batch operations can refresh multiple components at once. The batch operation methods provide a way to prevent performance and flicker problems by deferring expensive processing on multiple components until after the operation has completed.

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | RemoveOnBatchOperation | BeginBatchOperation | EndBatchOperation | BatchOperationEventHandler | BatchOperationEventArgs