2.2.4.32.12 OriginObject::GetBinaryStorage

Description

Get a binary storage as a tree

Syntax

BOOL GetBinaryStorage( LPCSTR lpcszName, TreeNode & tn )

Parameters

lpcszName
[input] name of the binary storage
tn
[output] put results into this treenode

Return

true if found, false if not found.

Examples

EX1

void OriginObject_GetBinaryStorage_Ex1(string strStorageName = "SomeJunk")
{
    Page pg = Project.Pages();
    Tree tr;
    if(pg.GetBinaryStorage(strStorageName, tr))
        out_tree(tr);
    else
        out_str("not found");
}

Remark

See Also

OriginObject::PutBinaryStorage, get_user_info, set_user_info

Header to Include

origin.h