TableLayoutStyleCollection.IList.IndexOf(Object) 方法

定義

如需這個方法的描述,請參閱 IndexOf(Object) 方法。

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

參數

style
Object

要在 IList 中尋找的 Object

傳回

Int32

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

實作

備註

這個成員是明確介面成員實作, 只有在 TableLayoutStyleCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於