Data for Silverlight
IndexOf(String) Method

C1.Silverlight.Data Namespace > NamedObjectCollection<T> Class > IndexOf Method : IndexOf(String) Method
Name of the item to search.
Gets the index of an item in the list.
Syntax
'Declaration
 
Public Overloads Overridable Function IndexOf( _
   ByVal name As String _
) As Integer
public virtual int IndexOf( 
   string name
)

Parameters

name
Name of the item to search.

Return Value

The index of the item in the list, or -1 if the item could not be found.
See Also

Reference

NamedObjectCollection<T> Class
NamedObjectCollection<T> Members
Overload List