Share via


EntitySet<TEntity>.IList.IndexOf Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

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

Parameters

Return Value

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

Implements

IList.IndexOf(Object)

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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