【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.14.3.11 info_get_section
Contents
Description
Get a section from an OriginObject's Info.
Syntax
bool info_get_section( OriginObject & obj, TreeNode & trSection, LPCSTR lpcszStorageSection )
Parameters
- obj
- [input] the OriginObject to get the section from
- trSection
- [output] the tree node to put the section into
- lpcszStorageSection
- [input] pointer to the storage and section name
Return
If success then true else false
Examples
EX1
void info_get_section_ex1() { Page pg = Project.Pages(-1); // get active page Tree trSection; if( info_get_section(pg, trSection, "User.Variables") ) { out_tree(trSection); } else out_str("Not found User.Variables section"); }
Remark
See Also
Header to Include
origin.h