DeleteSection
Deletes a section
BOOL DeleteSection( LPCSTR lpcszSection )
Returns no zero success 0 otherwise
EX1
//run example code in Storage::SetSection before run this code to check the result. void Storage_DeleteSection_ex1() { Page pg = Project.Pages(); if ( pg ) { string strStorage = "Test"; string strSection = "Params"; storage st; vector<string> vsNames; st = pg.GetStorage(strStorage); if ( st ) { st.GetSectionNames(vsNames); st.DeleteSection(strSection); //remove a section "Params" st.GetSectionNames(vsNames); } } }
Storage::GetSection, Storage::SetSection
origin.h