MenuCommandHelper.AddMenuCommand Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| AddMenuCommand(EventHandler, Action<OleMenuCommand>, CommandID) | |
| AddMenuCommand(EventHandler, Action<OleMenuCommand>, CommandID, Boolean, Boolean) |
AddMenuCommand(EventHandler, Action<OleMenuCommand>, CommandID)
public:
Microsoft::VisualStudio::Shell::OleMenuCommand ^ AddMenuCommand(EventHandler ^ performHandler, Action<Microsoft::VisualStudio::Shell::OleMenuCommand ^> ^ queryStatusHandler, System::ComponentModel::Design::CommandID ^ commandID);
public Microsoft.VisualStudio.Shell.OleMenuCommand AddMenuCommand (EventHandler performHandler, Action<Microsoft.VisualStudio.Shell.OleMenuCommand> queryStatusHandler, System.ComponentModel.Design.CommandID commandID);
member this.AddMenuCommand : EventHandler * Action<Microsoft.VisualStudio.Shell.OleMenuCommand> * System.ComponentModel.Design.CommandID -> Microsoft.VisualStudio.Shell.OleMenuCommand
Public Function AddMenuCommand (performHandler As EventHandler, queryStatusHandler As Action(Of OleMenuCommand), commandID As CommandID) As OleMenuCommand
Parametri
- performHandler
- EventHandler
- queryStatusHandler
- Action<OleMenuCommand>
- commandID
- CommandID
Restituisce
Si applica a
AddMenuCommand(EventHandler, Action<OleMenuCommand>, CommandID, Boolean, Boolean)
public:
Microsoft::VisualStudio::Shell::OleMenuCommand ^ AddMenuCommand(EventHandler ^ performHandler, Action<Microsoft::VisualStudio::Shell::OleMenuCommand ^> ^ queryStatusHandler, System::ComponentModel::Design::CommandID ^ commandID, bool Enabled, bool Visible);
public Microsoft.VisualStudio.Shell.OleMenuCommand AddMenuCommand (EventHandler performHandler, Action<Microsoft.VisualStudio.Shell.OleMenuCommand> queryStatusHandler, System.ComponentModel.Design.CommandID commandID, bool Enabled, bool Visible);
member this.AddMenuCommand : EventHandler * Action<Microsoft.VisualStudio.Shell.OleMenuCommand> * System.ComponentModel.Design.CommandID * bool * bool -> Microsoft.VisualStudio.Shell.OleMenuCommand
Public Function AddMenuCommand (performHandler As EventHandler, queryStatusHandler As Action(Of OleMenuCommand), commandID As CommandID, Enabled As Boolean, Visible As Boolean) As OleMenuCommand
Parametri
- performHandler
- EventHandler
- queryStatusHandler
- Action<OleMenuCommand>
- commandID
- CommandID
- Enabled
- Boolean
- Visible
- Boolean