次の方法で共有


ReportDataSourceCollection.Item プロパティ (String)

コレクションから指定された名前に一致するレポートのデータ ソースを返します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String _
) As ReportDataSource
public ReportDataSource this[
    string name
] { get; }
public:
property ReportDataSource^ default[String^ name] {
    ReportDataSource^ get (String^ name);
}
member Item : 
        name:string -> ReportDataSource with get
JScript では、インデックス付きプロパティはサポートされません。

パラメーター

  • name
    型 : String
    コレクションから取得するレポート データ ソースの名前。

プロパティ値

型 : Microsoft.Reporting.WinForms.ReportDataSource
ReportDataSource オブジェクト。

参照

関連項目

ReportDataSourceCollection クラス

Item オーバーロード

Microsoft.Reporting.WinForms 名前空間