Click or drag to resize

FileOperationRenameItem Method (ShellItemIdList, String, Boolean)

Declares a single item that is to be given a new display name.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int RenameItem(
	ShellItemIdList idList,
	string newName,
	bool throwOnError = true
)

Parameters

idList
Type: callback.ShellBoost.CoreShellItemIdList
The item PIDL.
newName
Type: SystemString
The new name.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
The result of Windows Shell last operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionidl is null or newName is null.
See Also