GetName
Get the name of an internal Origin data set.
BOOL GetName( string & strName )
string GetName( )
Returns TRUE on successful exit and FALSE on failure. Also returns the name of an internal Origin data set.
Returns the name of an internal Origin data set.
EX1
void Dataset_GetName_ex1() { // a Worksheet with at least 1 column must exist prior to execution Worksheet wks=Project.ActiveLayer(); if (wks) { string strName; Dataset dsA(wks, 0); dsA.GetName(strName); out_str("Data set name is " + strName); } }
EX2
void Dataset_GetName_ex2() { // a Worksheet with at least 1 column must exist prior to execution Worksheet wks=Project.ActiveLayer(); if (wks) { string strName; Dataset dsA(wks, 0); strName = dsA.GetName(); out_str("Data set name is " + strName); } }
origin.h