EntitySet<TEntity>.IndexOf Method (TEntity)

 

Returns the index of the entity.

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

public int IndexOf(
	TEntity entity
)

Parameters

entity
Type: TEntity

The entity whose index is to be returned.

Return Value

Type: System.Int32

An integer representing the index.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: