ListView.ColumnHeaderCollection.IList.IndexOf(Object) 方法

定義

傳回集合中指定之資料行行首的索引。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object

物件,表示要在集合中尋找的資料行行首。

傳回

如果可在清單中找到則為 value 的索引,否則為 -1。

實作

適用於