Metodo OleMenuCommandService.OnCommandsChanged
Chiamato da un comando di menu quando il relativo stato modificato.
Spazio dei nomi: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Sintassi
'Dichiarazione
Protected Overrides Sub OnCommandsChanged ( _
e As MenuCommandsChangedEventArgs _
)
protected override void OnCommandsChanged(
MenuCommandsChangedEventArgs e
)
Parametri
- e
Tipo: System.ComponentModel.Design.MenuCommandsChangedEventArgs
Significa che vengono apportate modifiche in MenuCommands (aggiunto o rimosso) dell'oggetto correlato.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.