DataViewCommandProvider.CreateSelectionCommand Method (CommandID, array<Object )
Creates a selection menu command for multiple nodes in Server Explorer.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function CreateSelectionCommand ( _
commandId As CommandID, _
parameters As Object() _
) As MenuCommand
protected virtual MenuCommand CreateSelectionCommand(
CommandID commandId,
Object[] parameters
)
protected:
virtual MenuCommand^ CreateSelectionCommand(
CommandID^ commandId,
array<Object^>^ parameters
)
abstract CreateSelectionCommand :
commandId:CommandID *
parameters:Object[] -> MenuCommand
override CreateSelectionCommand :
commandId:CommandID *
parameters:Object[] -> MenuCommand
protected function CreateSelectionCommand(
commandId : CommandID,
parameters : Object[]
) : MenuCommand
Parameters
- commandId
Type: System.ComponentModel.Design.CommandID
A CommandID object instance uniquely identifying the command associated with the specified item in the data view hierarchy.
- parameters
Type: array<System.Object[]
An array of parameters for use with this command.
Return Value
Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing a selection menu command item.
.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.