ListItemCollection::IList::IndexOf Method (Object^)

 

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

For a description of this member, see IndexOf.

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

private:
virtual int IndexOf(
	Object^ item
) sealed = IList::IndexOf

Parameters

item
Type: System::Object^

The Object to locate in the IList.

Return Value

Type: System::Int32

The index of value if found in the list; otherwise, -1.

This member is an explicit interface member implementation. It can be used only when the ListItemCollection instance is cast to an IList interface.

.NET Framework
Available since 1.1
Return to top
Show: