Udostępnij za pośrednictwem


Właściwość ReportDataSourceCollection.Item — (String)

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

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
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
Język JScript nie obsługuje właściwości indeksowanych.

Parametry

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

Wartość właściwości

Typ: Microsoft.Reporting.WebForms.ReportDataSource
A ReportDataSource object.

Zobacz też

Informacje

ReportDataSourceCollection Klasa

Przeciążenie Item

Przestrzeń nazw Microsoft.Reporting.WebForms