SftDirectory 2.5

SftDirectoryFolder.IsFile Property

Softel vdm, Inc.

Returns whether the SftDirectoryFolder object represents a real file.

Syntax       

Get

VB.NET

Boolean = object.IsFile  As Boolean

VB

Boolean = object.IsFile  As Boolean

C#.NET

bool Boolean = object.IsFile;

VC++

VARIANT_BOOL Boolean = object->IsFile;
VARIANT_BOOL Boolean = object->GetIsFile();

C

HRESULT object->get_IsFile(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.IsFile   : WordBool;

object

A SftDirectoryFolder object.

Boolean

Returns whether the SftDirectoryFolder object represents a real file.

Boolean

Description

True

The file/folder is a physical file, part of the file system.

False

The file/folder is not a physical file, i.e., it could be a physical folder, a link or a virtual folder, such as My Documents, etc.

Comments

The IsFile property returns whether the SftDirectoryFolder object represents a real file.

The IsFile, IsFolder and IsLink properties can be used to determine a file/folder's basic type. For additional information about the file/folder, the Attributes and Attributes2 properties can be used.


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