IndexOf Method

EntitySet(Of TEntity).IndexOf Method

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

Returns the index of the entity.

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

'Declaration
Public Function IndexOf ( _
	entity As TEntity _
) As Integer

Parameters

entity
Type: TEntity
The entity whose index is to be returned.

Return Value

Type: System.Int32
An integer representing the index.

Implements

IList(Of T).IndexOf(T)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft