ArrangedElementCollection.IList.Contains(Object) ArrangedElementCollection.IList.Contains(Object) ArrangedElementCollection.IList.Contains(Object) Method

定义

有关此成员的说明,请参见 Contains(Object) 方法。For a description of this member, see the Contains(Object) method.

 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 中定位的 IListThe Object to locate in the IList.

返回

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

实现

注解

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

适用于