Delen 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Event CommandContextChanged As EventHandler(Of CommandContextChangedEventArgs)
event EventHandler<CommandContextChangedEventArgs> CommandContextChanged
event EventHandler<CommandContextChangedEventArgs^>^ CommandContextChanged {
    void add (EventHandler<CommandContextChangedEventArgs^>^ value);
    void remove (EventHandler<CommandContextChangedEventArgs^>^ value);
}
abstract CommandContextChanged : IEvent<EventHandler<CommandContextChangedEventArgs>,
    CommandContextChangedEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

IMonitorSelectionService Interface

Microsoft.VisualStudio.Modeling.Shell Namespace