SftDirectory 2.5

SftDirectory.RootFolder Property

Softel vdm, Inc.

Returns the root folder.

Syntax       

Get

VB.NET

refFolderObj = object.RootFolder  As SftDirectoryFolder

VB

Set refFolderObj = object.RootFolder  As SftDirectoryFolder

C#.NET

SftDirectoryFolder refFolderObj = object.RootFolder;

VC++

ISftDirectoryFolder* refFolderObj = object->RootFolder;
ISftDirectoryFolder* refFolderObj = object->GetRootFolder();

C

HRESULT object->get_RootFolder(ISftDirectoryFolder** refFolderObj);

Delphi

refFolderObj := object.RootFolder  : ISftDirectoryFolder;

object

A SftDirectory object.

refFolderObj

Returns the root folder.

Comments

The RootFolder property returns the root folder.

The root folder is the topmost folder whose contents are displayed.  Depending on the control style (see ControlStyle property), the root folder is  part of the display and loaded as the first folder (styleSftDirectoryTreeView and styleSftDirectoryComboBoxTreeView) or is not displayed and describes the contents displayed (styleSftDirectoryDetailList and styleSftDirectoryComboBoxDetailList).

The RootFolder is determined by the TopMostFolder property, which defines the topmost folder loaded.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com