DrillthroughEventHandler デリゲート
ReportViewer の Drillthrough イベントを処理するメソッドを表します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (microsoft.reportviewer.winforms.dll 内)
構文
'宣言
Public Delegate Sub DrillthroughEventHandler ( _
sender As Object, _
e As DrillthroughEventArgs _
)
'使用
Dim instance As New DrillthroughEventHandler(AddressOf HandlerMethod)
public delegate void DrillthroughEventHandler (
Object sender,
DrillthroughEventArgs e
)
public delegate void DrillthroughEventHandler (
Object^ sender,
DrillthroughEventArgs^ e
)
/** @delegate */
public delegate void DrillthroughEventHandler (
Object sender,
DrillthroughEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.
パラメータ
- sender
イベントを発生させたオブジェクト。
- e
イベント データを含んでいる DrillthroughEventArgs オブジェクト。
解説
メイン レポートで参照されるドリルスルー レポートには、データ ソースを指定する必要があります。それには、ドリルスルー イベントのイベント ハンドラを指定してください。
イベント処理の詳細については、「Consuming Events」を参照してください。
例
例として、ReportViewer クラスの Drillthrough メソッドを参照してください。