Int32Collection.IList.Contains(Object) Int32Collection.IList.Contains(Object) Int32Collection.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

要在 Object 中定位的 Int32CollectionThe Object to locate in the Int32Collection.

返回

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

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Int32Collection 实例被强制转换为 IList 接口时使用。It can be used only when the Int32Collection instance is cast to an IList interface.

适用于