IVsDataViewCommandProvider.CreateSelectionCommand Method
Creates a selection menu command for multiple nodes in Server Explorer.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
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
Parameters
commandId
Type: System.ComponentModel.Design.CommandIDA CommandID object instance uniquely identifying the command associated with the specified item in the data view hierarchy.
Return Value
Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing a menu command item, or nulla null reference (Nothing in Visual Basic) if no command was created.
.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.
See Also
Reference
IVsDataViewCommandProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace