Export (0) Print
Expand All

EntitySet(Of TEntity).IList.IndexOf Method

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
'Usage
Dim instance As EntitySet 
Dim value As Object 
Dim returnValue As Integer 

returnValue = CType(instance, IList).IndexOf(value)

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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2015 Microsoft