Share via


IVsDataViewCommandProvider.CreateSelectionCommand(CommandID) Method

Definition

Creates a selection menu command for multiple nodes in Server Explorer.

public:
 System::ComponentModel::Design::MenuCommand ^ CreateSelectionCommand(System::ComponentModel::Design::CommandID ^ commandId);
public System.ComponentModel.Design.MenuCommand CreateSelectionCommand (System.ComponentModel.Design.CommandID commandId);
abstract member CreateSelectionCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
Public Function CreateSelectionCommand (commandId As CommandID) As MenuCommand

Parameters

commandId
CommandID

A CommandID object instance uniquely identifying the command associated with the specified item in the data view hierarchy.

Returns

A MenuCommand object representing a menu command item, or null if no command was created.

Applies to