语言

CodeNamespaceImportCollection.IList.Contains(Object) 方法

定义

确定 IList 是否包含特定值。

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

参数

value
Object

在 Object . 中查找的IList

返回

true 如果值位于列表中,则为否则,为 false.

实现

注解

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

适用于