SynchronizedReadOnlyCollection(Of T).IndexOf Method (T)

 

Returns the index of the first occurrence of a value in the collection.

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

Public Function IndexOf (
	value As T
) As Integer

Parameters

value
Type: T

The element whose index is being retrieved.

Return Value

Type: System.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: