Table of Contents

Class ReportParameterValue

Namespace
DocWright.Reporting.Expressions
Assembly
DocWright.Reporting.dll

The value of one report parameter as expressions see it: Parameters!Name.Value, .Label, .Count and .IsMultiValue.

public sealed class ReportParameterValue
Inheritance
ReportParameterValue
Inherited Members

Remarks

A multi-value parameter's .Value is an array, indexed from zero — Parameters!M.Value(1) — and Join(Parameters!M.Value, ",") joins it (both measured). A label that is not supplied reads as the value converted to text, which is what the reference shows for a parameter with no valid-values list.

Constructors

ReportParameterValue(IEnumerable<object?>, IEnumerable<string?>?)

Initializes a multi-value parameter.

ReportParameterValue(object?)

Initializes a single-valued parameter with no separate label.

ReportParameterValue(object?, string?)

Initializes a single-valued parameter.

Properties

IsMultiValue

Gets a value indicating whether the parameter is multi-valued.

Labels

Gets the labels, parallel to Values; an entry may be null.

Values

Gets the values; a single-valued parameter has exactly one.