共用方式為


MenuItemCollection.Insert(Int32, MenuItem) Method

Definition

public:
 virtual void Insert(int index, Microsoft::Maui::Controls::MenuItem ^ item);
public void Insert (int index, Microsoft.Maui.Controls.MenuItem item);
abstract member Insert : int * Microsoft.Maui.Controls.MenuItem -> unit
override this.Insert : int * Microsoft.Maui.Controls.MenuItem -> unit
Public Sub Insert (index As Integer, item As MenuItem)

Parameters

index
Int32
item
MenuItem

Implements

Applies to