共用方式為


MenuItemCollection.Remove(MenuItem) Method

Definition

public:
 virtual bool Remove(Microsoft::Maui::Controls::MenuItem ^ item);
public bool Remove (Microsoft.Maui.Controls.MenuItem item);
abstract member Remove : Microsoft.Maui.Controls.MenuItem -> bool
override this.Remove : Microsoft.Maui.Controls.MenuItem -> bool
Public Function Remove (item As MenuItem) As Boolean

Parameters

item
MenuItem

Returns

Implements

Applies to