IVsDataViewCommandProvider.CreateSelectionCommand(CommandID) Yöntem

Tanım

Sunucu Gezgini birden çok düğüm için bir seçim menüsü komutu oluşturur.

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

Parametreler

commandId
CommandID

Bir CommandID nesne örneği, veri görünümü hiyerarşisinde belirtilen öğeyle ilişkili komutu benzersiz şekilde tanımlar.

Döndürülenler

MenuCommand

Bir MenuCommand menü komut öğesini temsil eden nesne veya hiçbir komut oluşturulmadıysa null.

Şunlara uygulanır