ActiveReports 11
IndexOf Method (LayerCollection)

GrapeCity.ActiveReports.v11 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > LayerCollection Class : IndexOf Method
The Layer to locate in the LayerCollection.
Determines the index of a specific layer in the LayerCollection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As Layer _
) As Integer
public int IndexOf( 
   Layer item
)

Parameters

item
The Layer to locate in the LayerCollection.

Return Value

The index of item if found in the list; otherwise, -1.
See Also

Reference

LayerCollection Class
LayerCollection Members