ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Subreport Class / Parameters Property
Example

In This Topic
    Parameters Property (Subreport)
    In This Topic
    Gets the parameters associated with the subreport.
    Syntax
    'Declaration
     
    Public ReadOnly Property Parameters As ParameterCollection
    public ParameterCollection Parameters {get;}

    Property Value

    A ParameterCollection object containing parameters for the subreport.
    Remarks
    If the subreport is executed without parameters and lacks Toggle elements, it runs only once even when nested within a list, table, or matrix.
    Example
    Subreport subreport = new Subreport();
    var parameters = subreport.Parameters;
    parameters.Add(new Parameter("OrderID", "10248"));
    See Also