Delegato DrillthroughEventHandler

Rappresenta il metodo che gestirà l'evento Drillthrough di un oggetto ReportViewer.

Spazio dei nomi  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Sintassi

'Dichiarazione
Public Delegate Sub DrillthroughEventHandler ( _
    sender As Object, _
    e As DrillthroughEventArgs _
)
'Utilizzo
Dim instance As New DrillthroughEventHandler(AddressOf HandlerMethod)
public delegate void DrillthroughEventHandler(
    Object sender,
    DrillthroughEventArgs e
)
public delegate void DrillthroughEventHandler(
    Object^ sender, 
    DrillthroughEventArgs^ e
)
type DrillthroughEventHandler = 
    delegate of 
        sender:Object * 
        e:DrillthroughEventArgs -> unit
JScript supporta l'utilizzo di delegati, ma non la dichiarazione di nuovi delegati.

Parametri

Osservazioni

È necessario specificare un'origine dati per tutti i rapporti drill-through a cui fa riferimento il rapporto principale. A tale scopo, occorre specificare un gestore dell'evento per l'evento di drill-through.

Per ulteriori informazioni sulla gestione degli eventi, vedere Consuming Events.

Esempi

Per un esempio, vedere il metodo Drillthrough della classe ReportViewer.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.Reporting.WinForms