/// <summary> /// Returns a list of reports or graphs under analysis folder /// </summary> /// <param name="analysisItemFolder">Analysis folder object</param> /// <returns></returns> public TDAPIOLELib.List GetChildGraphs(TDAPIOLELib.AnalysisItemFolder analysisItemFolder) { TDAPIOLELib.List anaFolderNames = new TDAPIOLELib.List(); TDAPIOLELib.AnalysisItemFactory analysisItemFactory = analysisItemFolder.AnalysisItemFactory; foreach (TDAPIOLELib.AnalysisItemFolder aif in analysisItemFactory.NewList("")) { anaFolderNames.Add(aif); } return(anaFolderNames); }
/// <summary> /// Returns list of graph and report names under analysis folder /// </summary> /// <param name="analysisItemFolder">Analysis folder object</param> /// <returns></returns> public List <String> GetChildGraphNames(TDAPIOLELib.AnalysisItemFolder analysisItemFolder) { List <String> list = new List <String>(); TDAPIOLELib.AnalysisItemFactory analysisItemFactory = analysisItemFolder.AnalysisItemFactory; foreach (TDAPIOLELib.AnalysisItemFolder aif in analysisItemFactory.NewList("")) { list.Add(aif.Name); } return(list); }