IVsDataExplorerNodeSelection.GetCommand, méthode

Obtient une commande de menu correspondant à la valeur spécifiée d' CommandID pour le groupe de nœuds sélectionnés.

Espace de noms :  Microsoft.VisualStudio.Data.Services
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
Function GetCommand ( _
    commandId As CommandID _
) As MenuCommand
MenuCommand GetCommand(
    CommandID commandId
)
MenuCommand^ GetCommand(
    CommandID^ commandId
)
abstract GetCommand : 
        commandId:CommandID -> MenuCommand
function GetCommand(
    commandId : CommandID
) : MenuCommand

Paramètres

  • commandId
    Type : CommandID

    Un objet d' CommandID contenant un ID de commande numérique et un identificateur de groupe de menus GUID.

Valeur de retour

Type : MenuCommand
Un objet d' MenuCommand comme une commande de menu.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerNodeSelection Interface

Microsoft.VisualStudio.Data.Services, espace de noms