ColumnDefinitionCollection.IList.IndexOf(Object) ColumnDefinitionCollection.IList.IndexOf(Object) ColumnDefinitionCollection.IList.IndexOf(Object) Method

定義

如需這個成員的說明,請參閱 IndexOf(Object)For a description of this member, see IndexOf(Object).

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object Object Object

要在 ColumnDefinitionCollection 中尋找的 ObjectThe Object to locate in the ColumnDefinitionCollection.

傳回

如果可在清單中找到則為 value 的索引,否則為 -1。The index of value if found in the list; otherwise, -1.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ColumnDefinitionCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the ColumnDefinitionCollection instance is cast to an IList interface.

適用於

另請參閱