ShellBrowser .Net Edition
RenameObject Method (newName)
NamespacesJam.ShellShellBrowserRenameObject(String)
Renames the current object.
Declaration Syntax
C#Visual BasicVisual C++
public string RenameObject(
	string newName
)
Public Function RenameObject ( _
	newName As String _
) As String
public:
String^ RenameObject(
	String^ newName
)
Parameters
newName (String)
the new name that should be set for the current object.
Return Value
The 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
ExceptionCondition
ArgumentNullExceptionif null was passed for the newName parameter

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)