GrapeCity MultiRow Windows Forms Documentation
IndexOf Method (RowCollection)


The Row to locate in the RowCollection.
Returns the index of a specified item in the collection.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Function IndexOf( _
   ByVal row As Row _
) As Integer
Dim instance As RowCollection
Dim row As Row
Dim value As Integer
 
value = instance.IndexOf(row)
[Feature(Name="RowCollection", Version="v5.0")]
public int IndexOf( 
   Row row
)

Parameters

row
The Row to locate in the RowCollection.

Return Value

A System.Int32 that indicates the item index if it is a Row found in the RowCollection; otherwise, -1.
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

Reference

RowCollection Class
RowCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.