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
- name
Tipo: System. . :: . .String
The report parameter name.
- reportParameters
Tipo: System.Collections.Generic. . :: . .IList< (Of < ( <'ReportParameter> ) > ) >
The list of report parameters.
Valor de retorno
Tipo: Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportParameter
A ReportParameter object.
Consulte também