ReadOnlyCollectionBuilder<T>::IndexOf Method (T)

 

Returns the index of the first occurrence of a given value in the builder.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

public:
virtual int IndexOf(
	T item
) sealed

Parameters

item
Type: T

An item to search for.

Return Value

Type: System::Int32

The index of the first occurrence of an item.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: