ReportParametersEventArgs.Parameters Property

Visual Studio 2010

Gets the parameters that are being submitted to the report server by the user in the parameter prompt area.

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

public ReportParameterCollection Parameters { get; }
/** @property */
public ReportParameterCollection get_Parameters ()

public function get Parameters () : ReportParameterCollection

Property Value

A ReportParameterCollection object containing the parameter values submitted by the user.

This collection property includes all visible report parameter values and not just the values that have changed. However, when parameters are being automatically submitted to update the dependent parameters without processing the report, the dependent parameters are not included.

Although it is read-only, you can modify the contents of the collection in the ReportParametersEventHandler method before they are submitted to the report server.

Show: