IWinformsMenuHandler.GetMenuItems Method

Definition

检索菜单项的数组。Retrieves an array of menu items.

public:
 cli::array <System::Windows::Forms::ToolStripItem ^> ^ GetMenuItems();
public System.Windows.Forms.ToolStripItem[] GetMenuItems ();
abstract member GetMenuItems : unit -> System.Windows.Forms.ToolStripItem[]
Public Function GetMenuItems () As ToolStripItem()

Returns

ToolStripItem[]

返回菜单项的数组。Returns an array of menu items.

Applies to