ShellBrowser .Net Edition
Rename Method (p_NewName)
NamespacesJam.ShellShellListItemRename(String)
Renames the file or folder that is referenced by this ShellListItem instance to the new name given as a parameter. The ShellListItem needs to be assigned to a listview, otherwise this method will throw NullReference exception.
Declaration Syntax
C#Visual BasicVisual C++
public bool Rename(
	string p_NewName
)
Public Function Rename ( _
	p_NewName As String _
) As Boolean
public:
virtual bool Rename(
	String^ p_NewName
) sealed
Parameters
p_NewName (String)
the new name of the file/folder
Return Value
Returns true if the operation was successful
Exceptions
ExceptionCondition
NullReferenceExceptionThis exception occurs if the item is not part of a Items collection

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