ReadOnlyCollectionBuilder<T>.IndexOf Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Function IndexOf ( _
item As T _
) As Integer
public int IndexOf(
T item
)
Parameters
- item
Type: T
An item to search for.
Return Value
Type: System.Int32
The index of the first occurrence of an item.
Implements
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.