Share via


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

'Declaration
Public Function CreateSelectionCommand ( _
    commandId As CommandID _
) As MenuCommand
public MenuCommand CreateSelectionCommand(
    CommandID commandId
)
public:
virtual MenuCommand^ CreateSelectionCommand(
    CommandID^ commandId
) sealed
abstract CreateSelectionCommand : 
        commandId:CommandID -> MenuCommand  
override CreateSelectionCommand : 
        commandId:CommandID -> MenuCommand
public final function CreateSelectionCommand(
    commandId : CommandID
) : MenuCommand

Parameters

Return Value

Type: System.ComponentModel.Design.MenuCommand
A MenuCommand object representing a selection menu command item.

Implements

IVsDataViewCommandProvider.CreateSelectionCommand(CommandID)

.NET Framework Security

See Also

Reference

DataViewCommandProvider Class

CreateSelectionCommand Overload

Microsoft.VisualStudio.Data.Framework Namespace