Partilhar via


Método GetAncestor(T)

The ancestor of this report object.

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

Sintaxe

'Declaração
Public Function GetAncestor(Of T As Class) As T
'Uso
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 não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

  • T

Valor de retorno

Tipo: T
An object of type T.