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

Adds a System.ComponentModel.Design.ISelectionService.SelectionChanged event handler to the selection service.

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

Parameters

handler
An EventHandler that will be called whenever the current selection changes. 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 | RemoveOnSelectionChanged