共用方式為


MenuBarItem.Add(IMenuElement) Method

Definition

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

Parameters

Implements

Applies to