GetAncestor(T) 方法

The ancestor of this report object.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Function GetAncestor(Of T As Class) As T
用法
Dim instance As ReportObject
Dim returnValue As T

returnValue = instance.GetAncestor()
public T GetAncestor<T>()
where T : class
public:
generic<typename T>
where T : ref class
T GetAncestor()
member GetAncestor : unit -> 'T  when 'T : not struct
JScript 不支持一般类型和方法。

类型参数

  • T

返回值

类型:T
An object of type T.