ActiveReports 10
IndexOf Method (DataSourceCollection)

GrapeCity.ActiveReports.v10 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > DataSourceCollection Class : IndexOf Method
The DataSource object to locate in the DataSourceCollection.
Determines the index of a specific DataSource object in the DataSourceCollection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As DataSource _
) As Integer
public int IndexOf( 
   DataSource value
)

Parameters

value
The DataSource object to locate in the DataSourceCollection.

Return Value

The index of the entry if it is found in the collection; otherwise, -1.
See Also

Reference

DataSourceCollection Class
DataSourceCollection Members