ReportObject.GetAncestor<T> Method
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 does not support generic types and methods.
Type Parameters
- T
Return Value
Type: T
An object of type T.