2.1.14.3.28 page_set_storage_str


Description

Set a string into a page as a binary storage

Syntax

bool page_set_storage_str( Page & pg, LPCSTR lpcszName, LPCSTR lpcstrValue )

Parameters

pg
[input] the page to contain the binary storage
lpcszName
[input] pointer to the name of the binary storage
lpcstrValue
[input] pointer to the string value

Return

If success then true else false

Examples

EX1

void  Run_page_set_storage_str()
{
    Page pg("Book1");
    string strName = "var";
    string strVal = "Testing";
    bool bRet = page_set_storage_str(pg,strName,strVal);
}

Remark

See Also

page_get_storage_str

Header to Include

origin.h

Reference