TableCellCollection.IList.Contains(Object) 方法

定义

确定指定对象是否位于集合内。

 virtual bool System.Collections.IList.Contains(System::Object ^ o) = System::Collections::IList::Contains;
bool IList.Contains (object o);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (o As Object) As Boolean Implements IList.Contains

参数

o
Object

要在集合中定位的对象。

返回

Boolean

如果该对象在集合中,则为 true;否则为 false

实现

注解

该方法 IList.Contains 是显式接口成员实现。 它只能在 TableCellCollection 实例被强制转换为 IList 接口时使用。

适用于

另请参阅