【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.42.4 storage::GetSectionNames
Contents
Description
Get names of all the sections in this storage
Syntax
BOOL GetSectionNames( vector<string> & vsNames )
Parameters
- vsNames
- [output]a vector to receive data
Return
TRUE if success
Examples
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]); } } }
Remark
See Also
Storage::SetSection, Storage::GetSection
Header to Include
origin.h