SftDirectory 2.5

SftDirectory.FolderCount Property

Softel vdm, Inc.

Returns the total number of files and folders.

Syntax       

Get

VB.NET

Count = object.FolderCount  As Integer

VB

Count = object.FolderCount  As Integer

C#.NET

int Count = object.FolderCount;

VC++

int Count = object->FolderCount;
int Count = object->GetFolderCount();

C

HRESULT object->get_FolderCount(int* Count);

Delphi

Count := object.FolderCount   : Integer;

object

A SftDirectory object.

Count

Returns the total number of files and folders.

Comments

The FolderCount property returns the total number of files and folders.

The total Count includes all files and folders that are currently loaded by the control and includes files and folders that are part of a collapsed parent folder. Files may not be included, based on the ShowFiles property setting.

SftDirectoryFolder objects for each available file and folder can be retrieved using the FolderList property.


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