Method SetVariables
- Namespace
- ReportWright.Design
- Assembly
- ReportWright.Design.dll
SetVariables(IReadOnlyList<KeyValuePair<string, string>>)
Replaces the report variables, as one undo entry; an empty list removes them.
public void SetVariables(IReadOnlyList<KeyValuePair<string, string>> variables)
Parameters
variablesIReadOnlyList<KeyValuePair<string, string>>Each name and value expression (
=Now(),=Parameters!Year.Value - 1).
Exceptions
- ArgumentException
A name is not a valid RDL name, or the file is RDL 2005, which has no variables.