SftDirectory 2.5

SftDirectoryColumn.Contents Property

Softel vdm, Inc.

Defines the contents for all cells in this column.

Syntax       

Get

VB.NET

Type = object.Contents  As SftDirectoryContentsConstants

VB

Type = object.Contents  As SftDirectoryContentsConstants

C#.NET

SftDirectoryContentsConstants Type = object.Contents;

VC++

enum SftDirectoryContentsConstants Type = object->Contents;
enum SftDirectoryContentsConstants Type = object->GetContents();

C

HRESULT object->get_Contents(enum SftDirectoryContentsConstants* Type);

Delphi

Type := object.Contents  : TOleEnum;

Put

VB.NET

object.Contents = Type  As SftDirectoryContentsConstants

VB

object.Contents = Type  As SftDirectoryContentsConstants

C#.NET

SftDirectoryContentsConstants object.Contents = Type;

VC++

enum SftDirectoryContentsConstants object->Contents = Type;
void object->PutContents(enum SftDirectoryContentsConstants Type);

C

HRESULT object->put_Contents(enum SftDirectoryContentsConstants Type);

Delphi

object.Contents := Type  : TOleEnum;

object

A SftDirectoryColumn object.

Type

Defines the contents for all cells in this column.

Type

Value

Description

contentsSftDirectoryName

0

Name - The folder name.

contentsSftDirectorySize

1

Size - The folder size, generally in KB (Kilo Bytes) or MB (Mega Bytes), if available.

contentsSftDirectoryType

2

Type - The folder type.  The type string is provided by the Windows Shell or Shell extensions, if available.

contentsSftDirectoryDateMod

3

Date Modified - The folder's last modification date, if available.

contentsSftDirectoryDateCre

4

Date Created - The folder's creation date, if available.

contentsSftDirectoryDateAcc

5

Date Accessed - The folder's last access date, if available.

contentsSftDirectoryAttributes

6

Attributes - The folder's attributes, if available.  A = ready to archive, H = hidden folder, C = compressed, E = encrypted.

contentsSftDirectoryUser1

51

User defined 1 - 9.  User-defined contents, which are added for each folder using the UserContents event. The UserContents event occurs every time a folder is added so application-specific contents can be added.

contentsSftDirectoryUser2

52

User defined 2.

contentsSftDirectoryUser3

53

User defined 3.

contentsSftDirectoryUser4

54

User defined 4.

contentsSftDirectoryUser5

55

User defined 5.

contentsSftDirectoryUser6

56

User defined 6.

contentsSftDirectoryUser7

57

User defined 7.

contentsSftDirectoryUser8

58

User defined 8.

contentsSftDirectoryUser9

59

User defined 9.

Comments

The Contents property defines the contents for all cells in this column.

The Contents property determines the type of data displayed and loaded into the column.  When using the Contents property at run-time, the contents must be refreshed using the Reload method (automatic at design-time only).


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