IVsDataViewCommandProvider.CreateSelectionCommand(CommandID) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.