为 Drillthrough 事件提供数据。
继承层次结构
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
Microsoft.Reporting.WebForms.DrillthroughEventArgs
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
<ComVisibleAttribute(False)> _
Public NotInheritable Class DrillthroughEventArgs _
Inherits CancelEventArgs
用法
Dim instance As DrillthroughEventArgs
[ComVisibleAttribute(false)]
public sealed class DrillthroughEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class DrillthroughEventArgs sealed : public CancelEventArgs
[<SealedAttribute>]
[<ComVisibleAttribute(false)>]
type DrillthroughEventArgs =
class
inherit CancelEventArgs
end
public final class DrillthroughEventArgs extends CancelEventArgs
DrillthroughEventArgs 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
DrillthroughEventArgs | 构造一个 DrillthroughEventArgs 对象。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Cancel | (从 CancelEventArgs 继承。) |
![]() |
Report | 获取钻取操作的目标报表。 |
![]() |
ReportPath | 获取钻取报表的路径。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
当发生 Drillthrough 事件时,这传递给 DrillthroughEventHandler 委托。
您可以检查 ReportPath 属性的值,并提供与报表对应的数据。
可以对在 targetReport 参数中提供的钻取报表调用 GetParameters 方法来检测从主报表传递到钻取报表的参数值,以及提供与参数值对应的数据。
示例
有关示例,请参见 Drillthrough。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。