MobileServiceCollectionView<T>.IndexOf Method
Determines the index of a specific item in the list.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As T _
) As Integer
'Usage
Dim instance As MobileServiceCollectionView
Dim item As T
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
T item
)
public:
int IndexOf(
T item
)
member IndexOf :
item:'T -> int
public function IndexOf(
item : T
) : int
Parameters
- item
Type: T
The item to locate.
Return Value
Type: System.Int32
The index of the item.