IVsDataExplorerNode.GetCommand Method

Gets a menu command corresponding to the specified CommandID value.

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 IVsDataExplorerNode
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

IVsDataExplorerNode Interface

IVsDataExplorerNode Members

Microsoft.VisualStudio.Data.Services Namespace