EntitySet<TEntity>.IList.IndexOf(Object) EntitySet<TEntity>.IList.IndexOf(Object) EntitySet<TEntity>.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

要在列表中查找的对象。The object to locate in the list.

返回

如果在列表中找到,则为 value 的索引;否则为 -1。The index of value if found in the list; otherwise, -1.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 EntitySet<TEntity> 实例被强制转换为 System.Collections.IList 接口时使用。It can be used only when the EntitySet<TEntity> instance is cast to an System.Collections.IList interface.

适用于