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.