MobileServiceCollectionView<T>.IList<Object>.IndexOf Method
Determines the index of a specific item in the collection.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Private Function IndexOf ( _
item As Object _
) As Integer Implements IList(Of Object).IndexOf
'Usage
Dim instance As MobileServiceCollectionView
Dim item As Object
Dim returnValue As Integer
returnValue = CType(instance, IList(Of Object)).IndexOf(item)
int IList<Object>.IndexOf(
Object item
)
private:
virtual int IndexOf(
Object^ item
) sealed = IList<Object^>::IndexOf
private abstract IndexOf :
item:Object -> int
private override IndexOf :
item:Object -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- item
Type: System.Object
The item for which to find the index.
Return Value
Type: System.Int32
the index of the item in the collection.