Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the zero-based index of the first occurrence of the specified object in the collection.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Function IndexOf ( _
value As Object _
) As Integer
'Usage
Dim instance As EntitySet
Dim value As Object
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
Object value
)
Parameters
value
Type: System.ObjectThe object whose index is returned.
Return Value
Type: System.Int32
A Int32 that represents the zero-based index of the specified entity in the EntitySet<TEntity>.