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

 

Gets the index of the specified item.

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 whose index is being retrieved.

Return Value

Type: System.Int32

Returns Int32.

The zero-based index of the first occurrence of the value in the collection.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: