Reporting services CustomReportItem报告参数

Reporting services CustomReportItem报告参数,reporting-services,custom-controls,Reporting Services,Custom Controls,我正在尝试为SSRS设计一个自定义报告项。在实现ICustomReportItem时,是否有方法访问EvaluaterReportItemInstance函数中的报表参数 请注意,我不是试图访问正在设计的自定义报表项的自定义属性。我希望访问报表中声明的所有参数。我的错误 这需要在实现CustomReportItemDesigner而不是ICustomReportItem时完成。例如: public class MyCustomReportItemDesigner : Microsoft.Repo

我正在尝试为SSRS设计一个自定义报告项。在实现ICustomReportItem时,是否有方法访问EvaluaterReportItemInstance函数中的报表参数

请注意,我不是试图访问正在设计的自定义报表项的自定义属性。我希望访问报表中声明的所有参数。

我的错误

这需要在实现CustomReportItemDesigner而不是ICustomReportItem时完成。例如:

public class MyCustomReportItemDesigner : Microsoft.ReportDesigner.CustomReportItemDesigner
{
    public override void InitializeNewComponent()
    {
        //this.Report.ReportParameters;