GetSectionNames
Get names of all the sections in this storage
BOOL GetSectionNames( vector<string> & vsNames )
TRUE if success
EX1
//run example code in Storage::SetSection before run this code to check the result. void Storage_GetSectionNames_ex1() { Page pg = Project.Pages(); if(pg==NULL) return; storage st; string strStorage = "Test"; st = pg.GetStorage(strStorage); if(st) { vector<string> vs; if(st.GetSectionNames(vs)) { for(int ii=0;ii<vs.GetSize();ii++) out_str(vs[ii]); } } }
Storage::SetSection, Storage::GetSection
origin.h