IndexOf(TItem,Int32,Int32) Method
See Also 
SourceCode.Framework Namespace > PersistableObjectCollectionBase<TParent,TItem> Class > IndexOf Method : IndexOf(TItem,Int32,Int32) Method



item
startIndex
count

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Function IndexOf( _
   ByVal item As TItem, _
   ByVal startIndex As Integer, _
   ByVal count As Integer _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As PersistableObjectCollectionBase(Of TParent,TItem)
Dim item As TItem
Dim startIndex As Integer
Dim count As Integer
Dim value As Integer
 
value = instance.IndexOf(item, startIndex, count)
C#  
public virtual int IndexOf( 
   TItem item,
   int startIndex,
   int count
)
C++/CLI  
public:
virtual int IndexOf( 
   TItem^ item,
   int startIndex,
   int count
) 

Parameters

item
startIndex
count

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also