SynchronizedCollection(Of T).IList.IndexOf Method (Object)

 

Determines the zero-based index of an element in the collection.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Private Function IndexOf (
	value As Object
) As Integer
	Implements IList.IndexOf

Parameters

value
Type: System.Object

The element in the collection whose index is being determined.

Return Value

Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
Show: