Share via


ReportDataSourceCollection.Item Property (String)

Returns a report data source from the collection that matches a specified name.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ReportDataSource
'Usage
Dim instance As ReportDataSourceCollection
Dim name As String
Dim value As ReportDataSource

value = instance(name)
public ReportDataSource this [
    string name
] { get; }
public:
property ReportDataSource^ default [String^] {
    ReportDataSource^ get (String^ name);
}
/** @property */
public ReportDataSource get_Item (String name)

Parameters

  • name
    The name of the report data source to retrieve from the collection.

Property Value

A ReportDataSource object.

See Also

Reference

ReportDataSourceCollection Class
ReportDataSourceCollection Members
Microsoft.Reporting.WebForms Namespace