ShellBrowserRenameObject Method |
Renames the current object.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public string RenameObject(
string pNewName
)
Public Function RenameObject (
pNewName As String
) As String
public:
String^ RenameObject(
String^ pNewName
)
member RenameObject :
pNewName : string -> string
Parameters
- pNewName
- Type: SystemString
the new name that should be set for the current object.
Return Value
Type:
StringThe actual name of the current object after the attempt to rename it. It may happen that Windows does not allow the rename, then the old name will be returned. Otherwise the new name should be returned.
Exceptions See Also