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 接口时使用。

适用于