Item プロパティ
インデックスで位置を指定したコレクションから、指定されたレポート アイテムを取得します。C# の場合、このプロパティは ReportItemCollection クラスのインデクサーとなります。
名前空間: Microsoft.ReportingServices.ReportRendering
アセンブリ: Microsoft.ReportingServices.ProcessingCore (Microsoft.ReportingServices.ProcessingCore.dll)
構文
'宣言
Public ReadOnly Default Property Item ( _
index As Integer _
) As ReportItem
Get
'使用
Dim instance As ReportItemCollection
Dim index As Integer
Dim value As ReportItem
value = instance(index)
public ReportItem this[
int index
] { get; }
public:
property ReportItem^ default[int index] {
ReportItem^ get (int index);
}
member Item : ReportItem
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System. . :: . .Int32
コレクションで検索するレポート アイテムの 0 から始まるインデックスです。
プロパティ値
型: Microsoft.ReportingServices.ReportRendering. . :: . .ReportItem
ReportItem オブジェクト。指定されたレポート アイテムが存在しない場合は NULL 値。
説明
Microsoft JScript では、型によって定義される既定のインデックス付きプロパティを使用できますが、独自のプロパティを明示的に定義することはできません。ただし、クラスで expando 属性を指定すると、型が Object で、インデックスの種類が String の既定のインデックス付きプロパティが自動的に提供されます。