Share via


ReportDataSourceCollection.Item 屬性 (String)

 

發行︰ 2016年4月

從符合指定名稱的集合中傳回報表資料來源。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

語法

public ReportDataSource this[
    string name
] { get; }
public:
property ReportDataSource^ default[
    String^ name
] {
    ReportDataSource^ get(String^ name);
}
member Item : 
        name:string -> ReportDataSource with get
Public ReadOnly Property Item (
    name As String
) As ReportDataSource

參數

  • name
    Type: System.String

    要從集合中擷取之報表資料來源的名稱。

屬性值

Type: Microsoft.Reporting.WinForms.ReportDataSource

ReportDataSource 物件。

另請參閱

Item 多載
ReportDataSourceCollection 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首