Write
Write contents of a storage class into a file.
bool Write( LPCSTR lpcszFile )
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_Write_ex1() { Page pg = Project.Pages(); if(pg==NULL) return; storage st; string strStorage = "Test"; st = pg.GetStorage(strStorage); if(st.IsValid()) { bool bRet = st.Write("C:\\Test.xml"); } }
Storage:SetSection, Storage:Read
origin.h