ReportDataSourceCollection.Item Property (String)
Returns a report data source from the collection that matches a specified name.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
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
Parameters
name
Type: System.StringThe name of the report data source to retrieve from the collection.
Property Value
Type: Microsoft.Reporting.WinForms.ReportDataSource
A ReportDataSource object.
See Also
Item Overload
ReportDataSourceCollection Class
Microsoft.Reporting.WinForms Namespace
Return to top