Partilhar via


IVsDataExplorerNode.GetCommand(CommandID) Method

Definition

Gets a menu command corresponding to the specified CommandID value.

public:
 System::ComponentModel::Design::MenuCommand ^ GetCommand(System::ComponentModel::Design::CommandID ^ commandId);
public System.ComponentModel.Design.MenuCommand GetCommand (System.ComponentModel.Design.CommandID commandId);
abstract member GetCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
Public Function GetCommand (commandId As CommandID) As MenuCommand

Parameters

commandId
CommandID

A CommandID object containing a numeric command ID and a GUID menu group identifier.

Returns

A MenuCommand object as the menu command.

Applies to