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
- commandId
Type: System.ComponentModel.Design.CommandID
A CommandID object containing a numeric command ID and a GUID menu group identifier.
Return Value
Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object as the menu command.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.