语言

ListBox.IntegerCollection.IList.Contains(Object) 方法

定义

确定指定的制表位是否在集合中。

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

参数

item
Object

在 . 中查找的 ListBox.IntegerCollection制表位。

返回

true 如果项是 IntegerCollection 中的整数,则为否则,为 false.

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ListBox.IntegerCollection接口时IList,才能使用它。

适用于