DataViewCommandProvider.CreateSelectionCommand Method (CommandID, [])

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
'使用
Dim commandId As CommandID
Dim parameters As Object()
Dim returnValue As MenuCommand

returnValue = Me.CreateSelectionCommand(commandId, _
    parameters)
protected virtual MenuCommand CreateSelectionCommand(
    CommandID commandId,
    Object[] parameters
)
protected:
virtual MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId, 
    array<Object^>^ parameters
)
protected function CreateSelectionCommand(
    commandId : CommandID, 
    parameters : Object[]
) : MenuCommand

Parameters

  • parameters
    Type: []

    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.

Permissions

See Also

Reference

DataViewCommandProvider Class

DataViewCommandProvider Members

CreateSelectionCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace