Partager via


IVsDataViewCommandProvider.CreateSelectionCommand, méthode

Crée une commande de menu de sélection de plusieurs nœuds dans l'explorateur de serveurs.

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

Syntaxe

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

Paramètres

Valeur de retour

Type : System.ComponentModel.Design.MenuCommand
Un objet d' MenuCommand représentant un élément de commande de menu, ou nullune référence null (Nothing en Visual Basic) si aucune commande n'a été créée.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataViewCommandProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms