Partilhar via


Propriedade LocalReport.DataSources

Gets a collection of data sources used by the report.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)

Sintaxe

'Declaração
<BrowsableAttribute(False)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }
[BrowsableAttribute(false)]
public:
property ReportDataSourceCollection^ DataSources {
    ReportDataSourceCollection^ get ();
}
[<BrowsableAttribute(false)>]
member DataSources : ReportDataSourceCollection with get
function get DataSources () : ReportDataSourceCollection

Valor de propriedade

Tipo: Microsoft.Reporting.WinForms.ReportDataSourceCollection
A read-only ReportDataSourceCollection object.

Comentários

Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.

Consulte também

Referência

LocalReport Classe

Namespace Microsoft.Reporting.WinForms