DisplayFolder Class

Inherits from

GEOCALCPBW_NAMESPACE::GeoBase

 

Description

The DisplayFolder class represents a categorization of DataSource objects for display purposes. It is used in a DataView to indicate where objects should be displayed in a user interface, such as DataSourceEditor.

 

Public Constructors

Constructor

Description

DisplayFolder

Creates a new instance of a DisplayFolder

 

Public Methods

Method

Description

get_AllChildObjects

Retrieves a list of all objects in this folder or any of its subfolders

get_ChildObjects

Retrieves a list of all objects directly inside this folder (ie not in subfolders)

get_FolderID

Retrieves the folder identification number

get_FolderName

Retrieves the folder name

get_Hidden

Retrieves a boolean indicating whether the folder is hidden

get_ParentID

Retrieves the id number of the parent folder

get_SubFolderIDs

Retrieves a list of all sub-folder ids

get_Type

Retrieves the ObjectType of the objects the folder contains (this may be a combination if the folder contains objects of several different types)

HasChildObjects

Returns true if the folder contains objects, false otherwise

HasSubFolders

Returns true if the folder contains sub-folders, false otherwise

set_FolderName

Sets the name for the folder

set_FolderID

Sets the identification for the folder (this must be unique within the view)

set_Hidden

Sets the folder to be hidden

set_ParentID

Sets the parent folder

set_Type

Sets the ObjectType of the objects the folder contains (this may be a combination of several different types)