共用方式為


Menu.IndexOf(Menu) Method

Definition

Returns the index of item.

public int IndexOf (Xamarin.Forms.Menu item);
abstract member IndexOf : Xamarin.Forms.Menu -> int
override this.IndexOf : Xamarin.Forms.Menu -> int

Parameters

item
Menu

The menu whose index to get.

Returns

System.Int32

Implements

System.Collections.Generic.IList`1.IndexOf(`0)

Applies to