Share via


IMonitorSelectionService.SelectionChanged Event

Occurs when the current selection changes.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Event SelectionChanged As EventHandler(Of MonitorSelectionEventArgs)
'Usage
Dim instance As IMonitorSelectionService 
Dim handler As EventHandler(Of MonitorSelectionEventArgs)

AddHandler instance.SelectionChanged, handler
event EventHandler<MonitorSelectionEventArgs> SelectionChanged
event EventHandler<MonitorSelectionEventArgs^>^ SelectionChanged {
    void add (EventHandler<MonitorSelectionEventArgs^>^ value);
    void remove (EventHandler<MonitorSelectionEventArgs^>^ value);
}
JScript does not support events.

.NET Framework Security

See Also

Reference

IMonitorSelectionService Interface

IMonitorSelectionService Members

Microsoft.VisualStudio.Modeling.Shell Namespace