2.2.4.13.9 Folder::GetFolderInfo


Description

Get property info of folder, such as size, type, location. etc.

Syntax

BOOL GetFolderInfo( PropertyInfo & stFdInfo )

Parameters

stFdInfo
[output] the property info of folder.

Return

Returns TRUE if succeed otherwise FALSE

Examples

EX1

void    GetFolderInfo_Ex1()
{
    Folder fld = Project.ActiveFolder();
    if(fld.IsValid())
    {
        PropertyInfo stFdInfo;
        fld.GetFolderInfo(stFdInfo);
        printf("The location of Current folder is: %s", stFdInfo.szLocation);
        return;
    }
    printf("there is no active folder in current project");
}

Remark

See Also

Header to Included

origin.h