Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

PageCollection Class

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

Object
  Microsoft.ReportingServices.ReportRendering.PageCollection

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

[DefaultMemberAttribute("Item")]
public sealed class PageCollection

The PageCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of pages rendered so far.
Public propertyItemGets the specified Page object from the collection at the specified index. In C#, this property is the indexer for the PageCollection class.
Public propertyTotalCountGets or sets the total number of pages in a report.
Top

  NameDescription
Public methodAddRenders the specified Page and stores the results as the last page in the collection.
Public methodClearClears any stored rendering results from the collection.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInsertInserts the specified page into the collection at the point specified by the index.
Public methodRemoveAtRemoves a page from the collection found at the location specified by the index.
Public methodToString (Inherited from Object.)
Top

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

Community Additions

Show:
© 2015 Microsoft