Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryFolder.Rename Method

Starts editing so the file/folder can be renamed.

Syntax

VB.NETobject.Rename(ByVal InitialEditString As String)
VBobject.Rename(ByVal InitialEditString As String)
C#.NETvoid object.Rename(string InitialEditString);
VC++HRESULT object->Rename(_bstr_t InitialEditString);
CHRESULT object->raw_Rename(BSTR InitialEditString);

object

A SftDirectoryFolder object.

InitialEditString

Defines the initial string displayed in the edit control used to enter the new file/folder name. This can be used to suggest a new file/folder name to the end-user. Specify a null string to default to the current file/folder name.

Comments

The Rename method starts editing so the file/folder can be renamed.

The Name property can be used to update a folder name by immediately renaming the file/folder.

The Rename method has no effect for combo box style controls (see ControlStyle property).

See Also SftDirectoryFolder Object | Object Hierarchy


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