storage::IsValid

Description

Checks Validity of the Storage object.

Syntax

BOOL IsValid( )

Parameters

Return

FALSE if an Storage Object is not valid, non-zero otherwise.

Examples

EX1

void Storage_IsValid_ex1()
{
    Page pg = Project.Pages();
    if(pg==NULL)
        return;
    
    storage st;
    string strStorage = "Test";
    st = pg.GetStorage(strStorage);
    if(st.IsValid())
    {
        out_str("OK");
    }    
}

Remark

See Also

Storage::SetSection

header to Include

origin.h