ICustomReportItem 接口

Contains methods and properties to be implemented by custom report item run-time components.

命名空间:  Microsoft.ReportingServices.ReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
Public Interface ICustomReportItem
用法
Dim instance As ICustomReportItem
public interface ICustomReportItem
public interface class ICustomReportItem
type ICustomReportItem =  interface end
public interface ICustomReportItem

ICustomReportItem 类型公开以下成员。

属性

  名称 说明
公共属性 Action 基础结构。
公共属性 CustomItem Sets the custom report item and associated data used by the custom report item run-time component to render a standard report item. Write-only.
公共属性 RenderItem Contains the rendered image of the custom report item.

页首

方法

  名称 说明
公共方法 Process Renders the custom report item and places it in the RenderItem property.

页首

注释

One instance of the class that implements ICustomReportItem is created during each report execution that contains any instances of the corresponding CustomReportItem type. For each instance of a CustomReportItem of the matching type that occurs in the report, CustomItem is set and then Process is called. Since the report server is multithreaded, the class that implements ICustomReportItem should avoid use of static member variables.

The custom report item class will not be installed if a failure occurs while creating the class. Any other failure will cause the entire report execution to fail.

For more information, please see 自定义报表项.