ColumnDefinitionCollection.IList.IndexOf(Object) 方法
定義
如需這個成員的說明,請參閱 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);
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
要在 ColumnDefinitionCollection 中尋找的 Object。The 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.