IVsDataExplorerNodeSelection.GetCommand(CommandID) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une commande de menu correspondant à la CommandID valeur spécifiée pour le groupe de nœuds sélectionnés.
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
Paramètres
- commandId
- CommandID
CommandIDObjet contenant un ID de commande numérique et un identificateur de groupe de menus GUID.
Retours
MenuCommandObjet en tant que commande de menu.