TableRowCollection.IList.Contains Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether the specified object is contained within the collection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

bool IList.Contains(
	object o


Type: System.Object

The object to locate within the collection.

Return Value

Type: System.Boolean

true if the object is in the collection; otherwise, false.

The IList.Contains method is an explicit interface member implementation. It can be used only when the TableRowCollection instance is cast to an IList interface.

.NET Framework
Available since 1.1
Return to top