ParameterValue Element (RDL)
Provides an individual hard-coded parameter for the list contained within the ParameterValues element.
語法
<ParameterValues>
...
<ParameterValue>
<Value>...</Value>
<Label>...</Label>
</ParameterValue>
...
</ParameterValues>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length |
None |
Default value |
None |
Cardinality |
1-n: Required element that occurs once or more than once. |
Element Relationships
Relationship | Element |
---|---|
Parent element |
|
Child elements |
備註
For the Value parameter:
- Use "true" and "false" for Boolean parameters
- Use ISO 8601 values for date/time parameters
- Use "." as the optional decimal separator for float parameters
If the Label parameter is not supplied, the Value parameter is used as the label. If no Value parameter is supplied, then an empty string is used.
If the Value expression returns an array, the Label expression must return an array with the same number of items.
If the Value expression does not return an array, the Label expression must not return an array.
請參閱
參考
Report Definition XML Elements