RowDefinitionCollection.IList.IndexOf(Object) RowDefinitionCollection.IList.IndexOf(Object) RowDefinitionCollection.IList.IndexOf(Object) Method

定義

決定集合中指定項目的索引。Determines the index of a specific item in the collection.

 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

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

傳回

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

實作

備註

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

適用於

另請參閱