Share via


OleMenuCommand Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of OleMenuCommand.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

OleMenuCommand(EventHandler, CommandID)

Initializes a new instance of OleMenuCommand for the specified command.

Public method

OleMenuCommand(EventHandler, CommandID, String)

Initializes a new instance of OleMenuCommand for the specified command.

Public method

OleMenuCommand(EventHandler, EventHandler, CommandID)

Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers.

Public method

OleMenuCommand(EventHandler, EventHandler, CommandID, String)

Initializes a new instance of OleMenuCommand for the specified command with the specified invocation and status handlers.

Public method

OleMenuCommand(EventHandler, EventHandler, EventHandler, CommandID)

Initializes a new instance of OleMenuCommand for the specified command with the specified pre-QueryStatus, invocation, and status handlers.

Public method

OleMenuCommand(EventHandler, EventHandler, EventHandler, CommandID, String)

Initializes a new instance of OleMenuCommand for the specified command with the specified pre-QueryStatus, invocation, and status handlers.

Top

See Also

Reference

OleMenuCommand Class

OleMenuCommand Members

Microsoft.VisualStudio.Shell Namespace