Click or drag to resize

ShellBrowserRenameObject Method

Renames the current object.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public string RenameObject(
	string pNewName
)

Parameters

pNewName
Type: SystemString
the new name that should be set for the current object.

Return Value

Type: String
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
See Also