Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryFolder.GetText Method

Retrieves the file/folder's text.

Syntax

VB.NETString = object.GetText(ByVal ColumnContents As SftDirectoryContentsConstants) As String
VBString = object.GetText(ByVal ColumnContents As SftDirectoryContentsConstants) As String
C#.NETstring String = object.GetText(SftDirectoryContentsConstants ColumnContents);
VC++_bstr_t String = object->GetText(enum SftDirectoryContentsConstants ColumnContents);
CHRESULT object->raw_GetText(enum SftDirectoryContentsConstants ColumnContents, BSTR* String);

object

A SftDirectoryFolder object.

ColumnContents

Defines the column contents for which the text should be returned.

ColumnContentsValueDescription
contentsSftDirectoryName0Name - Simple folder name.
contentsSftDirectorySize1Size - The file size, if available.
contentsSftDirectoryType2Type - The type of the folder as defined by the Windows Shell, if available.
contentsSftDirectoryDateMod3Date Modified - The date the folder was last modified, if available.
contentsSftDirectoryDateCre4Date Created - The date the folder was last modified, if available. The Folder.DateCreated property also returns the date and time the folder was created.
contentsSftDirectoryDateAcc5Date Accessed - The date the folder was last accessed, if available. The Folder.DateAccessed property also returns the date and time the folder was last accessed.
contentsSftDirectoryAttributes6Attributes - The attributes of the folder: 'A' - Folders ready to be archived, 'H' - hidden, 'C' - compressed, 'E' - encrypted folders. The Attributes property also returns the folder's attributes.
contentsSftDirectoryUser151User defined 1 - User-defined contents are added while the control's contents are added using the UserContents event.
contentsSftDirectoryUser252User defined 2.
contentsSftDirectoryUser353User defined 3.
contentsSftDirectoryUser454User defined 4.
contentsSftDirectoryUser555User defined 5.
contentsSftDirectoryUser656User defined 6.
contentsSftDirectoryUser757User defined 7.
contentsSftDirectoryUser858User defined 8.
contentsSftDirectoryUser959User defined 9.

String

Returns the file/folder's text.

Comments

The GetText method retrieves the file/folder's text.

The text can only be retrieved if a column with the specified contents has been defined.

See Also SftDirectoryFolder Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.