言語

ReportParameterCollection.Item[] プロパティ

定義

コレクションからレポートパラメータを取得します。

オーバーロード

名前 説明
Item[Int32]

インデックスで示された位置にあるパラメータを収集します。 C# では、このプロパティは ReportParameterCollection クラスのインデクサーです。

Item[String]

コレクションからレポートパラメータを取得します。 取得されるパラメータは、 name パラメータで指定された名前と一致するコレクションからのパラメータです。 C# では、このプロパティは ReportParameterCollection クラスのインデクサーです。

Item[Int32]

インデックスで示された位置にあるパラメータを収集します。 C# では、このプロパティは ReportParameterCollection クラスのインデクサーです。

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

パラメーター

index
Int32

n番目の位置のパラメータ。

プロパティ値

インデックスで示された位置にあるコレクション内のパラメータを含む ReportParameter オブジェクトを返します。

注釈

JScript では、型によって定義された既定のインデックス付きプロパティを使用できますが、独自のプロパティを明示的に定義することはできません。 しかし、クラスに expando 属性を指定すると、型が Object 、インデックス型が Stringのデフォルトインデックスプロパティが自動的に付与されます。

適用対象

Item[String]

コレクションからレポートパラメータを取得します。 取得されるパラメータは、 name パラメータで指定された名前と一致するコレクションからのパラメータです。 C# では、このプロパティは ReportParameterCollection クラスのインデクサーです。

public:
 property Microsoft::ReportingServices::ReportRendering::ReportParameter ^ default[System::String ^] { Microsoft::ReportingServices::ReportRendering::ReportParameter ^ get(System::String ^ name); };
public Microsoft.ReportingServices.ReportRendering.ReportParameter this[string name] { get; }
member this.Item(string) : Microsoft.ReportingServices.ReportRendering.ReportParameter
Default Public ReadOnly Property Item(name As String) As ReportParameter

パラメーター

name
String

パラメーターの名前。

プロパティ値

nameパラメータで指定された名前に一致するパラメータを含むReportParameterオブジェクトを返します。

注釈

JScript では、型によって定義された既定のインデックス付きプロパティを使用できますが、独自のプロパティを明示的に定義することはできません。 しかし、クラスに expando 属性を指定すると、型が Object 、インデックス型が Stringのデフォルトインデックスプロパティが自動的に付与されます。

適用対象