共用方式為


MenuItemCollection.Insert(Int32, MenuItem) Method

Definition

public void Insert (int index, Xamarin.Forms.MenuItem item);
abstract member Insert : int * Xamarin.Forms.MenuItem -> unit
override this.Insert : int * Xamarin.Forms.MenuItem -> unit

Parameters

index
System.Int32
item
MenuItem

Implements

System.Collections.Generic.IList`1.Insert(System.Int32,`0)

Applies to