Copy a storage section into a treenode
BOOL GetSection( LPCSTR lpcszSecName, TreeNode & trNode )
Returns TRUE on success and FALSE on failure.
EX1
//run example code in Storage::SetSection before run this code to check the result. void storage_GetSection_ex1() { Page pg = Project.Pages(); if(pg == NULL) return; string strStorage = "Test"; string strSection = "Params"; Tree trTemp; storage st; st = pg.GetStorage(strStorage); if(st) { if(st.GetSection(strSection, trTemp)) out_tree(trTemp); } }
Storage::SetSection, Storage::DeleteSection
origin.h