TableRowCollection.IList.Contains(Object) Method

Definition

有关此成员的说明,请参见 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);
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

Parameters

value
Object

要在 Object 中定位的 TableRowCollectionThe Object to locate in the TableRowCollection.

Returns

Boolean

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

Implements

Remarks

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TableRowCollection 实例被强制转换为 IList 接口时使用。It can be used only when the TableRowCollection instance is cast to an IList interface. 改用类型安全的 Contains 方法。Use the type-safe Contains method instead.

Applies to