Freigeben über


GetAncestor(T)-Methode

The ancestor of this report object.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Function GetAncestor(Of T As Class) As T
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.

Typparameter

  • T

Rückgabewert

Typ: T
An object of type T.