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