IList.IndexOf Method

EntitySet(Of TEntity).IList.IndexOf Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

For a description of this member, see IList.IndexOf.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

'Declaration
Private Function IndexOf ( _
	value As Object _
) As Integer Implements IList.IndexOf

Parameters

value
Type: System.Object
The object to locate in the list.

Return Value

Type: System.Int32
The index of value if found in the list; otherwise, -1.

Implements

IList.IndexOf(Object)

This member is an explicit interface member implementation. It can be used only when the EntitySet(Of TEntity) instance is cast to an System.Collections.IList interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft