IMonitorSelectionService.CommandContextChanged Event
Occurs when the command UI context is activated or deactivated.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.