Bridge

ReadOnlyCollection<(Of <(<'T>)>)>..::..IndexOf Method

Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection<(Of <(<'T>)>)>.

Namespace:  System.Collections.ObjectModel
Assembly:  Bridge (in Bridge.dll)

Syntax


public int IndexOf(
	T value
)
Public Function IndexOf ( _
	value As T _
) As Integer
public:
int^ IndexOf(
	T value
)

Parameters

value
Type: T
The object to locate in the List<(Of <(<'T>)>)>. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the entire ReadOnlyCollection<(Of <(<'T>)>)>, if found; otherwise, -1.