ListSortDescriptionCollection::IndexOf Method (Object^)

 

Returns the index of the specified item in the collection.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
virtual int IndexOf(
	Object^ value
) sealed

Parameters

value
Type: System::Object^

The Object to locate in the collection.

Return Value

Type: System::Int32

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

.NET Framework
Available since 2.0
Return to top
Show: