Share via


Report.SetParameters Method

Sets report parameter properties for the report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public MustOverride Sub SetParameters ( _
    parameters As IEnumerable(Of ReportParameter) _
)
'Usage
Dim instance As Report
Dim parameters As IEnumerable(Of ReportParameter)

instance.SetParameters(parameters)
public abstract void SetParameters (
    IEnumerable<ReportParameter> parameters
)
public:
virtual void SetParameters (
    IEnumerable<ReportParameter^>^ parameters
) abstract
public abstract void SetParameters (
    IEnumerable<ReportParameter> parameters
)
public abstract function SetParameters (
    parameters : IEnumerable<ReportParameter>
)

Parameters

  • parameters
    An array of ReportParameter objects that contains a list of the report parameters properties.

Remarks

The parameters specified for the SetParameters method must be defined in the original report definition.

Please see the LocalReport or ServerReport implementations for specific remarks and code samples.

See Also

Reference

Report Class
Report Members
Microsoft.Reporting.WebForms Namespace