Partager via


Interface ICustomReportItem

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

Espace de noms :  Microsoft.ReportingServices.ReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public Interface ICustomReportItem
'Utilisation
Dim instance As ICustomReportItem
public interface ICustomReportItem
public interface class ICustomReportItem
type ICustomReportItem =  interface end
public interface ICustomReportItem

Le type ICustomReportItem expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Action Infrastructure.
Propriété publique 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.
Propriété publique RenderItem Contains the rendered image of the custom report item.

Haut de la page

Méthodes

  Nom Description
Méthode publique Process Renders the custom report item and places it in the RenderItem property.

Haut de la page

Notes

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 Éléments de rapport personnalisés.