Partilhar via


Propriedade ReportDataSourceCollection.Item (String)

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

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

Sintaxe

'Declaração
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
JScript não oferece suporte a propriedades indexadas.

Parâmetros

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

Valor de propriedade

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

Consulte também

Referência

ReportDataSourceCollection Classe

Sobrecargas Item

Namespace Microsoft.Reporting.WebForms