다음을 통해 공유


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

‘선언
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

  • 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

See Also

Reference

DataViewCommandProvider Class

CreateSelectionCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace