Share via


PageCollection Class

Represents a collection of Page objects. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.PageCollection

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class PageCollection
'Usage
Dim instance As PageCollection
public sealed class PageCollection
public ref class PageCollection sealed
[<SealedAttribute>]
type PageCollection =  class end
public final class PageCollection

The PageCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of pages rendered so far.
Public property Item Gets the specified Page object from the collection at the specified index. In C#, this property is the indexer for the PageCollection class.
Public property TotalCount Gets or sets the total number of pages in a report.

Top

Methods

  Name Description
Public method Add Renders the specified Page and stores the results as the last page in the collection.
Public method Clear Clears any stored rendering results from the collection.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Insert Inserts the specified page into the collection at the point specified by the index.
Public method RemoveAt Removes a page from the collection found at the location specified by the index.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.ReportRendering Namespace