Edit

Share via


IMenuEditorService.SetSelection(MenuItem) Method

Definition

Sets the selected menu item of the current menu.

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)

Parameters

item
MenuItem

A MenuItem to set as the currently selected menu item.

Applies to