IMenuCommandService.FindCommand(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.
Recherche l’ID de commande spécifié et retourne la commande de menu associée.
public:
System::ComponentModel::Design::MenuCommand ^ FindCommand(System::ComponentModel::Design::CommandID ^ commandID);
public System.ComponentModel.Design.MenuCommand FindCommand(System.ComponentModel.Design.CommandID commandID);
abstract member FindCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
Public Function FindCommand (commandID As CommandID) As MenuCommand
Paramètres
Retours
Associé MenuCommand à l’ID de commande ou null si aucune commande n’est trouvée.