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
- 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.
See Also
Reference
IMonitorSelectionService Interface