Udostępnij za pośrednictwem


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

Gets an ReportParameter object in the collection by its 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 ReportParameter
public ReportParameter this[
    string name
] { get; }
public:
property ReportParameter^ default[String^ name] {
    ReportParameter^ get (String^ name);
}
member Item : 
        name:string -> ReportParameter with get
Język JScript nie obsługuje właściwości indeksowanych.

Parametry

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

Wartość właściwości

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

Uwagi

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

Zobacz też

Informacje

ReportParameterCollection Klasa

Przeciążenie Item

Przestrzeń nazw Microsoft.Reporting.WebForms