EntitySet<TEntity>.IList.Contains(Object) EntitySet<TEntity>.IList.Contains(Object) EntitySet<TEntity>.IList.Contains(Object) Method

定义

有关此成员的说明,请参见 Contains(Object)For a description of this member, see Contains(Object).

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

参数

value
Object Object Object

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

返回

如果在 IList 中找到了 Object,则为 true;否则为 falsetrue if the Object is found in the IList; otherwise, false.

实现

注解

此成员是显式接口成员的实现。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.

适用于