2.2.4.13.16 Folder::IsRootFolder

Description

Check if the folder object is the root folder.

Syntax

BOOL IsRootFolder( )

Parameters

Return

TRUE if the folder object is the root folder, otherwise FALSE

Examples

EX1

// Check if the Active folder is the root folder
int    Folder_IsRootFolder_Ex1()
{
    Folder fld = Project.ActiveFolder();
    return (int) fld.IsRootFolder();
}

Remark

Check if the folder object is the root folder.

See Also

Header to Include

origin.h