ActiveReports 11
Remove Method (LayerCollection)

GrapeCity.ActiveReports.v11 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > LayerCollection Class : Remove Method
The Layer to remove from the LayerCollection.
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

Reference

LayerCollection Class
LayerCollection Members