IMenuEditorService.SetSelection(MenuItem) 方法

定义

设置当前菜单的选定菜单项。

public:
 void SetSelection(System::Windows::Forms::MenuItem ^ item);
public void SetSelection (System.Windows.Forms.MenuItem item);
abstract member SetSelection : System.Windows.Forms.MenuItem -> unit
Public Sub SetSelection (item As MenuItem)

参数

item
MenuItem

要设置为当前选定菜单项的 MenuItem

适用于