DataViewMenuCommand Constructors

Definition

Overloads

DataViewMenuCommand(Int32, CommandID)

Initializes a new instance of the DataViewMenuCommand class, specifying the item ID and command identifier.

DataViewMenuCommand(Int32, CommandID, EventHandler)

Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and event.

DataViewMenuCommand(Int32, CommandID, EventHandler, EventHandler)

Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and events.

DataViewMenuCommand(Int32, CommandID)

Initializes a new instance of the DataViewMenuCommand class, specifying the item ID and command identifier.

public:
 DataViewMenuCommand(int itemId, System::ComponentModel::Design::CommandID ^ command);
public DataViewMenuCommand (int itemId, System.ComponentModel.Design.CommandID command);
new Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand : int * System.ComponentModel.Design.CommandID -> Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand
Public Sub New (itemId As Integer, command As CommandID)

Parameters

itemId
Int32

A numerical value that uniquely identifies a node in the data view hierarchy.

command
CommandID

A CommandID object containing the unique command ID that links this menu command to the environment's menu.

Applies to

DataViewMenuCommand(Int32, CommandID, EventHandler)

Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and event.

public:
 DataViewMenuCommand(int itemId, System::ComponentModel::Design::CommandID ^ command, EventHandler ^ handler);
public DataViewMenuCommand (int itemId, System.ComponentModel.Design.CommandID command, EventHandler handler);
new Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand : int * System.ComponentModel.Design.CommandID * EventHandler -> Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand
Public Sub New (itemId As Integer, command As CommandID, handler As EventHandler)

Parameters

itemId
Int32

A numerical value that uniquely identifies a node in the data view hierarchy.

command
CommandID

A CommandID object containing the unique command ID that links this menu command to the environment's menu.

handler
EventHandler

The event to raise when the user selects the menu item.

Applies to

DataViewMenuCommand(Int32, CommandID, EventHandler, EventHandler)

Initializes a new instance of the DataMenuCommand class, specifying the item ID, command identifier, and events.

public:
 DataViewMenuCommand(int itemId, System::ComponentModel::Design::CommandID ^ command, EventHandler ^ statusHandler, EventHandler ^ handler);
public DataViewMenuCommand (int itemId, System.ComponentModel.Design.CommandID command, EventHandler statusHandler, EventHandler handler);
new Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand : int * System.ComponentModel.Design.CommandID * EventHandler * EventHandler -> Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand
Public Sub New (itemId As Integer, command As CommandID, statusHandler As EventHandler, handler As EventHandler)

Parameters

itemId
Int32

A numerical value that uniquely identifies a node in the data view hierarchy.

command
CommandID

A CommandID object containing the unique command ID that links this menu command to the environment's menu.

statusHandler
EventHandler

The event to raise to convey status updates.

handler
EventHandler

The event to raise when the user selects the menu item.

Applies to