Share via


IVsDataExplorerNode.GetCommand, méthode

Obtient une commande de menu correspondant à la valeur spécifiée d'CommandID.

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

    Objet CommandID contenant un ID de commande numérique et un identificateur de groupe de menus du GUID.

Valeur de retour

Type : MenuCommand
Objet MenuCommand comme commande de menu.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerNode Interface

Microsoft.VisualStudio.Data.Services, espace de noms