DataViewCommandProvider.CreateSelectionCommand 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.
Surcharges
| CreateSelectionCommand(CommandID) |
Crée une commande de menu de sélection pour plusieurs nœuds dans Explorateur de serveurs. |
| CreateSelectionCommand(CommandID, Object[]) |
Crée une commande de menu de sélection pour plusieurs nœuds dans Explorateur de serveurs. |
CreateSelectionCommand(CommandID)
Crée une commande de menu de sélection pour plusieurs nœuds dans Explorateur de serveurs.
public:
virtual System::ComponentModel::Design::MenuCommand ^ CreateSelectionCommand(System::ComponentModel::Design::CommandID ^ commandId);
public System.ComponentModel.Design.MenuCommand CreateSelectionCommand (System.ComponentModel.Design.CommandID commandId);
abstract member CreateSelectionCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
override this.CreateSelectionCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
Public Function CreateSelectionCommand (commandId As CommandID) As MenuCommand
Paramètres
- commandId
- CommandID
CommandIDInstance d’objet identifiant de façon unique la commande associée à l’élément spécifié dans la hiérarchie d’affichage de données.
Retours
MenuCommandObjet représentant un élément de commande de menu de sélection.
Implémente
S’applique à
CreateSelectionCommand(CommandID, Object[])
Crée une commande de menu de sélection pour plusieurs nœuds dans Explorateur de serveurs.
protected:
virtual System::ComponentModel::Design::MenuCommand ^ CreateSelectionCommand(System::ComponentModel::Design::CommandID ^ commandId, cli::array <System::Object ^> ^ parameters);
protected virtual System.ComponentModel.Design.MenuCommand CreateSelectionCommand (System.ComponentModel.Design.CommandID commandId, object[] parameters);
abstract member CreateSelectionCommand : System.ComponentModel.Design.CommandID * obj[] -> System.ComponentModel.Design.MenuCommand
override this.CreateSelectionCommand : System.ComponentModel.Design.CommandID * obj[] -> System.ComponentModel.Design.MenuCommand
Protected Overridable Function CreateSelectionCommand (commandId As CommandID, parameters As Object()) As MenuCommand
Paramètres
- commandId
- CommandID
CommandIDInstance d’objet identifiant de façon unique la commande associée à l’élément spécifié dans la hiérarchie d’affichage de données.
- parameters
- Object[]
Tableau de paramètres à utiliser avec cette commande.
Retours
MenuCommandObjet représentant un élément de commande de menu de sélection.