TableSectionBase<T>.IndexOf(T) 方法

定義

傳回此 TableSectionBase<T> 物件中第一個出現之 item 的索引。

public int IndexOf (T item);
abstract member IndexOf : 'T -> int
override this.IndexOf : 'T -> int

參數

item
T

要尋找其索引的執行個體。

傳回

System.Int32

TableSectionBase<T> 物件中第一個出現之 item 的索引。

實作

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

適用於