| 2.2.4.38.46 Project::LooseDatasetNamesLooseDatasetNames
 DescriptionCollection of names of all loose Origin datasets.
 
 Get the name of the loose dataset having the 0-offset index.
 DeclarationCollection<string> LooseDatasetNames 
 string LooseDatasetNames(int index) Parameters index[input] An integer smaller than the number of loose datasets in the open project. The datasets are enumerated by the order in which they are created in the open project file.
 ReturnReturns the name of the loose dataset having the 0-offset index.
 ExamplesEX1
 // This example assumes several existing loose datasets (datasets not displayed
// in a worksheet column or matrix window)
int Project_LooseDatasetNames_ex1()
{
    // Loop over all loose datasets in the project and display their names
    int ii = 1;
    foreach(string strName in Project.LooseDatasetNames)
    {
        printf("Loose Dataset(%d) Name: %s\n",ii++, strName);
    }
    return 0;
}EX2
 // This example assumes at least one existing loose dataset (a dataset not
// attached to a worksheet or a matrix) in Origin
int Project_LooseDatasetNames_ex2(int index = 0)
{
	string strName = Project.LooseDatasetNames(index);
	printf("Loose Dataset(%d) Name: %s\n",index, strName);
	return 0;
}RemarkCollection of names of all Origin datasets in the current project not attached to a worksheet or a matrix.
 
 Header to Includeorigin.h
 See AlsoProject::Pages, Project::WorksheetPages, Project::Notes, Project::MatrixPages, Project::GraphPages, Project::LayoutPages, Project::DatasetNames
 Reference |