次の方法で共有


ReportParameterCollection.Item Property (Int32)

コレクション内の、インデックスで示された位置にあるパラメータを取得します。C# の場合、このプロパティは ReportParameterCollection クラスのインデクサとなります。

名前空間: Microsoft.ReportingServices.ReportRendering
アセンブリ: Microsoft.ReportingServices.ProcessingCore (microsoft.reportingservices.processingcore.dll 内)

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ReportParameter
public ReportParameter this [
    int index
] { get; }
public:
property ReportParameter^ default [int] {
    ReportParameter^ get (int index);
}
/** @property */
public ReportParameter get_Item (int index)

パラメータ

  • index
    n 番目の位置にあるパラメータです。

プロパティ値

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

解説

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

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

ReportParameterCollection Class
ReportParameterCollection Members
Microsoft.ReportingServices.ReportRendering Namespace