Partilhar via


Propriedade ReportParameterCollection.Item (String)

Gets an ReportParameter object in the collection by its 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 ReportParameter
public ReportParameter this[
    string name
] { get; }
public:
property ReportParameter^ default[String^ name] {
    ReportParameter^ get (String^ name);
}
member Item : 
        name:string -> ReportParameter with get
JScript não oferece suporte a propriedades indexadas.

Parâmetros

  • name
    Tipo: String
    The name of the ReportParameter object to get. This is the value of the Name property.
    This parameter is not case sensitive.

Valor de propriedade

Tipo: Microsoft.Reporting.WebForms.ReportParameter
A ReportParameter with the specified name, if found; otherwise, a null reference (Nothing in Visual Basic).

Comentários

If multiple parameters in the collection match the name parameter, the first match is returned.

Consulte também

Referência

ReportParameterCollection Classe

Sobrecargas Item

Namespace Microsoft.Reporting.WebForms