DrillthroughEventArgs 類別

 

發行︰ 2016年7月

提供 Drillthrough 事件的資料。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      Microsoft.Reporting.WinForms.DrillthroughEventArgs

語法

[ComVisibleAttribute(false)]
public sealed class DrillthroughEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class DrillthroughEventArgs sealed : CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type DrillthroughEventArgs = 
    class
        inherit CancelEventArgs
    end
<ComVisibleAttribute(False)>
Public NotInheritable Class DrillthroughEventArgs
    Inherits CancelEventArgs

建構函式

名稱 描述
System_CAPS_pubmethod DrillthroughEventArgs(String, Report)

建構新的 DrillthroughEventArgs 物件。

屬性

名稱 描述
System_CAPS_pubproperty Cancel

(繼承自 CancelEventArgs。)

System_CAPS_pubproperty Report

取得鑽研動作的目標報表。

System_CAPS_pubproperty ReportPath

取得鑽研報表的路徑。

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

註解

當發生 Drillthrough 事件時,這會傳遞至 DrillthroughEventHandler 委派。

您可以檢查 ReportPath 屬性值,以及提供對應於這份報表的資料。

您可以呼叫 targetReport 參數提供之鑽研報表的 GetParameters 方法,來檢查主報表傳遞至鑽研報表的參數值,以及提供對應於參數值的資料。

範例

如需範例,請參閱 Drillthrough

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首