ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / PageCollection Class / Contains Method
A Page object for which to check.
Example

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

Parameters

item
A Page object for which to check.

Return Value

A System.Boolean value. true if the PageCollection contains the specified Page; otherwise, false.
Example
PageCollection collection = new PageCollection();
Page page = new Page();
collection.Add(page);
bool contains = collection.Contains(page);
See Also