Partilhar via


Método GetReportParameterByName (String, IList(ReportParameter))

Returns a report parameter in the specified list that matches the specified name.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxe

'Declaração
Public Shared Function GetReportParameterByName ( _
    name As String, _
    reportParameters As IList(Of ReportParameter) _
) As ReportParameter
'Uso
Dim name As String
Dim reportParameters As IList(Of ReportParameter)
Dim returnValue As ReportParameter

returnValue = Report.GetReportParameterByName(name, _
    reportParameters)
public static ReportParameter GetReportParameterByName(
    string name,
    IList<ReportParameter> reportParameters
)
public:
static ReportParameter^ GetReportParameterByName(
    String^ name, 
    IList<ReportParameter^>^ reportParameters
)
static member GetReportParameterByName : 
        name:string * 
        reportParameters:IList<ReportParameter> -> ReportParameter 
public static function GetReportParameterByName(
    name : String, 
    reportParameters : IList<ReportParameter>
) : ReportParameter

Parâmetros