VisualStateGroupList.IndexOf(VisualStateGroup) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果找到,则返回 item
的索引。 否则返回 -1
。
public int IndexOf (Xamarin.Forms.VisualStateGroup item);
abstract member IndexOf : Xamarin.Forms.VisualStateGroup -> int
override this.IndexOf : Xamarin.Forms.VisualStateGroup -> int
参数
- item
- VisualStateGroup
要获取其索引的组。
返回
System.Int32
如果找到,则为 item
的索引。 否则为 -1
。
实现
System.Collections.Generic.IList`1.IndexOf(`0)