[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.ReportItemCollection.Contains

Contains Method

Contains(ReportItem)

Gets a value indicating whether the ReportItemCollection contains the specified ReportItem.

Declaration
public virtual bool Contains(ReportItem value)
Parameters
Type Name Description
ReportItem value

A ReportItem object for which to check.

Returns
Type Description
bool

A bool value. true if the ReportItemCollection contains the specified ReportItem; otherwise, false.

Implements
Examples
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new TextBox();
collection.Add(item);
bool contains = collection.Contains(item);