ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / LayerCollection Class / Remove Method
The Layer to remove from the LayerCollection.

In This Topic
    Remove Method (LayerCollection)
    In This Topic
    Removes the first occurrence of a specific layer from the LayerCollection.
    Syntax
    'Declaration
     
    Public Function Remove( _
       ByVal item As Layer _
    ) As Boolean
    public bool Remove( 
       Layer item
    )

    Parameters

    item
    The Layer to remove from the LayerCollection.

    Return Value

    true if item was successfully removed from the LayerCollection; otherwise, false. This method also returns false if item is not found in the original LayerCollection.
    See Also