Partager via


GetAncestor(T) méthode

The ancestor of this report object.

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (dans Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Function GetAncestor(Of T As Class) As T
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T

Valeur de retour

Type : T
An object of type T.