ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / LayerCollection Class / IndexOf Method
The Layer to locate in the LayerCollection.

In This Topic
    IndexOf Method (LayerCollection)
    In This Topic
    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