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

 

Returns the index within the collection of the specified value.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

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

Parameters

value
Type: System::Object^

The ListViewGroup to find in the ListViewGroupCollection.

Return Value

Type: System::Int32

The zero-based index of value if it is in the collection; otherwise, -1.

.NET Framework
Available since 2.0
Return to top
Show: