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

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

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

Parameters

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

Remarks

This method allows any designer host clients to perform operations before other handlers are notified of the batch operation beginning. The specified handler will only be called when the first call to System.ComponentModel.Design.BeginBatchOperation is made in an operation. Subsquent calls will not generate this event until all the matching EndBatchOperation calls have been made.

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace | BeginBatchOperation | EndBatchOperation | AddOnAfterBatchOperation | RemoveOnAfterBatchOperation