PageCollection.Item[Int32] Property

Definition

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 Microsoft::ReportingServices::ReportRendering::Page ^ default[int] { Microsoft::ReportingServices::ReportRendering::Page ^ get(int pageNumber); void set(int pageNumber, Microsoft::ReportingServices::ReportRendering::Page ^ value); };
public Microsoft.ReportingServices.ReportRendering.Page this[int pageNumber] { get; set; }
member this.Item(int) : Microsoft.ReportingServices.ReportRendering.Page with get, set
Default Public Property Item(pageNumber As Integer) As Page

Parameters

pageNumber
Int32

The zero-based index of the Page object to find.

Property Value

A Page object, or a null value if the specified Page does not exist.

Remarks

In Microsoft JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

Applies to