ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ReportItemCollection Class / Remove Method
A ReportItem object to remove.
Example

In This Topic
Remove Method (ReportItemCollection)
In This Topic
Removes the specified ReportItem object from the ReportItemCollection.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal value As ReportItem _
) As Boolean
 

Parameters

value
A ReportItem object to remove.

Return Value

A System.Boolean value. true if the ReportItem was successfully removed; otherwise, false.
Example
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new TextBox();
collection.Add(item);
bool removed = collection.Remove(item);
See Also