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

'宣言
Function GetCommand ( _
    commandId As CommandID _
) As MenuCommand
'使用
Dim instance As IVsDataExplorerNodeSelection
Dim commandId As CommandID
Dim returnValue As MenuCommand

returnValue = instance.GetCommand(commandId)
MenuCommand GetCommand(
    CommandID commandId
)
MenuCommand^ GetCommand(
    CommandID^ commandId
)
function GetCommand(
    commandId : CommandID
) : MenuCommand

Parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand

A MenuCommand object as the menu command.

Permissions

See Also

Reference

IVsDataExplorerNodeSelection Interface

IVsDataExplorerNodeSelection Members

Microsoft.VisualStudio.Data.Services Namespace