Partilhar via


Delegado SubreportProcessingEventHandler

Represents the method that will handle the SubreportProcessing event of a ReportViewer.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)

Sintaxe

'Declaração
Public Delegate Sub SubreportProcessingEventHandler ( _
    sender As Object, _
    e As SubreportProcessingEventArgs _
)
public delegate void SubreportProcessingEventHandler(
    Object sender,
    SubreportProcessingEventArgs e
)
public delegate void SubreportProcessingEventHandler(
    Object^ sender, 
    SubreportProcessingEventArgs^ e
)
type SubreportProcessingEventHandler = 
    delegate of 
        sender:Object * 
        e:SubreportProcessingEventArgs -> unit
JScript não oferece suporte a delegados.

Parâmetros

  • sender
    Tipo: Object
    The object that raised the event.

Comentários

You must supply data for any data sources used in subreports. To do this, you must supply an event handler for the subreport processing event.

For more information about handling events, see Consumindo eventos.

Exemplos

For an example, see the SubreportProcessing method of the LocalReport class.

Consulte também

Referência

Namespace Microsoft.Reporting.WinForms