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!

ISelectionService.AddOnSelectionChanging

Adds an event handler to the selection service.

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

Parameters

handler
An EventHandler that will be called when the current selection is about to change. The sender parameter of the event will be a reference to the ISelectionService.

Remarks

Keep processing to a minimum during this event, as this can affect the overall performance of the form designer.

See Also

ISelectionService Interface | ISelectionService Members | System.ComponentModel.Design Namespace | EventHandler | RemoveOnSelectionChanging