語言

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。

實作

適用於