[]
Gets the parameters for the report.
public ParameterCollection Parameters { get; }
Type | Description |
---|---|
ParameterCollection | A ParameterCollection value representing parameters for the report. |
PageReport pageReport = new PageReport(file);
var parameter = pageReport.Document.Parameters["Parameter1"];
parameter.Values.Clear();
parameter.Values.AddRange(new[]
{
new ParameterValue { Value = "TestValue1" },
new ParameterValue { Value = "TestValue2" }
});
parameter.CurrentValue = "TestValue1";