Share via


IMonitorSelectionService.CommandContextChanged Event

Occurs when the command UI context is activated or deactivated.

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

Syntax

'Declaration
Event CommandContextChanged As EventHandler(Of CommandContextChangedEventArgs)
'Usage
Dim instance As IMonitorSelectionService 
Dim handler As EventHandler(Of CommandContextChangedEventArgs)

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

.NET Framework Security

See Also

Reference

IMonitorSelectionService Interface

IMonitorSelectionService Members

Microsoft.VisualStudio.Modeling.Shell Namespace