[]
Gets a value indicating whether the ReportItemCollection contains the specified ReportItem.
public virtual bool Contains(ReportItem value)
Type | Name | Description |
---|---|---|
ReportItem | value | A ReportItem object for which to check. |
Type | Description |
---|---|
bool | A bool value. |
ReportItemCollection collection = new ReportItemCollection();
ReportItem item = new TextBox();
collection.Add(item);
bool contains = collection.Contains(item);