Partager via


IVsDataExplorerNodeSelection.GetCommand Method

Gets a menu command corresponding to the specified CommandID value for the group of selected nodes.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'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

Parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object as the menu command.

.NET Framework Security

See Also

Reference

IVsDataExplorerNodeSelection Interface

Microsoft.VisualStudio.Data.Services Namespace