MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ReportItemCollection Class / Contains Method
A ReportItem object for which to check.
Example

In This Topic
Contains Method (ReportItemCollection)
In This Topic
Gets a value indicating whether the ReportItemCollection contains the specified ReportItem.
Syntax
'Declaration
 
Public Overridable Function Contains( _
   ByVal value As ReportItem _
) As Boolean
 

Parameters

value
A ReportItem object for which to check.

Return Value

A System.Boolean value. true if the ReportItemCollection contains the specified ReportItem; otherwise, false.
Example
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new TextBox();
collection.Add(item);
bool contains = collection.Contains(item);
See Also