ServerExplorerCommandHandler.CreateSelectionCommand Method (CommandID, array<Object[])
Handles the multi-selection case of creating a command for schema and data compare.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Protected Overrides Function CreateSelectionCommand ( _
commandId As CommandID, _
parameters As Object() _
) As MenuCommand
'Usage
Dim commandId As CommandID
Dim parameters As Object()
Dim returnValue As MenuCommand
returnValue = Me.CreateSelectionCommand(commandId, _
parameters)
protected override MenuCommand CreateSelectionCommand(
CommandID commandId,
Object[] parameters
)
protected:
virtual MenuCommand^ CreateSelectionCommand(
CommandID^ commandId,
array<Object^>^ parameters
) override
protected override function CreateSelectionCommand(
commandId : CommandID,
parameters : Object[]
) : MenuCommand
abstract CreateSelectionCommand :
commandId:CommandID *
parameters:Object[] -> MenuCommand
override CreateSelectionCommand :
commandId:CommandID *
parameters:Object[] -> MenuCommand
Parameters
- commandId
Type: System.ComponentModel.Design.CommandID
The command ID
- parameters
Type: array<System.Object[]
An array of command parameters
Return Value
Type: System.ComponentModel.Design.MenuCommand
.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
ServerExplorerCommandHandler Class
ServerExplorerCommandHandler Members
CreateSelectionCommand Overload
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace