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

  • parameters
    Type: array<System.Object[]
    An array of command parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand

.NET Framework Security

See Also

Reference

ServerExplorerCommandHandler Class

ServerExplorerCommandHandler Members

CreateSelectionCommand Overload

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace