Export (0) Print
Expand All

EntitySet<TEntity>.IndexOf Method

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.

Implements

IList<T>.IndexOf(T)

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft