Remove Method (ReportItemCollection)
Removes the specified
ReportItem object from the
ReportItemCollection.
Parameters
- value
- A ReportItem object to remove.
Return Value
A
System.Boolean value.
true
if the
ReportItem was successfully removed; otherwise,
false
.
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new TextBox();
collection.Add(item);
bool removed = collection.Remove(item);