Gets or sets the parameter value.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C#
![]() |
---|
public Object Value { get; set; } |
Visual Basic
![]() |
---|
Public Property Value As Object |
An object representing the parameter value.
Assigning this property automatically updates Type to reflect the type of the parameter. To create an expression parameter, the Type property needs to be assigned to Expression explicitly. Otherwise, the value will be interpreted as string.
The following example creates a parameter with an expression value:
C#
![]() |
---|
ReportParameter parameter = new ReportParameter("DayOfMonth", "[Day(Now())]"); |
Visual Basic
![]() |
---|
Dim parameter As New ReportParameter("DayOfMonth", "[Day(Now())]") |