Menu.IndexOf(Menu) 方法

定义

返回 item 的索引。

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

参数

item
Menu

要获取其索引的菜单。

返回

System.Int32

实现

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

适用于