共用方式為


MenuItemCollection.Add(MenuItem) Method

Definition

public:
 virtual void Add(Microsoft::Maui::Controls::MenuItem ^ item);
public void Add (Microsoft.Maui.Controls.MenuItem item);
abstract member Add : Microsoft.Maui.Controls.MenuItem -> unit
override this.Add : Microsoft.Maui.Controls.MenuItem -> unit
Public Sub Add (item As MenuItem)

Parameters

item
MenuItem

Implements

Applies to