MenuCommandHelper.AddMenuCommand 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 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
매개 변수
- performHandler
- EventHandler
- queryStatusHandler
- Action<OleMenuCommand>
- commandID
- CommandID
반환
적용 대상
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
매개 변수
- performHandler
- EventHandler
- queryStatusHandler
- Action<OleMenuCommand>
- commandID
- CommandID
- Enabled
- Boolean
- Visible
- Boolean