Gets or sets the parameter value.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
C# Copy Code |
---|
public Object Value { get; set; } |
Visual Basic Copy Code |
---|
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# Copy Code |
---|
ReportParameter parameter = new ReportParameter("DayOfMonth", "[Day(Now())]"); |
Visual Basic Copy Code |
---|
Dim parameter As New ReportParameter("DayOfMonth", "[Day(Now())]") |