MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Model Namespace / DataSetExtensions Class / GetRootDataSet Method
A starting GrapeCity.ActiveReports.PageReportModel.IDataSet object.
A function to retrieve a dataset by name.

In This Topic
GetRootDataSet Method
In This Topic
Gets a root dataset by traversing up the dataset hierarchy.
Syntax
'Declaration
 
Public Shared Function GetRootDataSet( _
   ByVal dataSet As IDataSet, _
   ByVal getDataSetFn As Func(Of String,IDataSet) _
) As IDataSet
 

Parameters

dataSet
A starting GrapeCity.ActiveReports.PageReportModel.IDataSet object.
getDataSetFn
A function to retrieve a dataset by name.

Return Value

A root GrapeCity.ActiveReports.PageReportModel.IDataSet object in the hierarchy.
Remarks
This method should not be used directly in application code. It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.
See Also