Partager 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

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerNode Interface

Microsoft.VisualStudio.Data.Services, espace de noms