语言

ReportItemCollection.Item[Int32] 属性

定义

从索引指定位置的集合中获取指定的报告项目。 在 C# 中,此属性是类的 ReportItemCollection 索引器。

public:
 property Microsoft::ReportingServices::ReportRendering::ReportItem ^ default[int] { Microsoft::ReportingServices::ReportRendering::ReportItem ^ get(int index); };
public Microsoft.ReportingServices.ReportRendering.ReportItem this[int index] { get; }
member this.Item(int) : Microsoft.ReportingServices.ReportRendering.ReportItem
Default Public ReadOnly Property Item(index As Integer) As ReportItem

参数

index
Int32

集合中查找的报告项目的零基索引。

属性值

ReportItem如果指定的报告项不存在,则为对象或空值。

注解

在 Microsoft JScript 中,你可以使用类型定义的默认索引属性,但不能显式定义自己的。 然而,在类上指定 expando 属性会自动提供一个默认的索引属性,其类型为 Object ,索引类型为 String。

适用于