Click or drag to resize

FileOperationRenameItems Method (IEnumerableString, String, Boolean)

Declares a set of items that are to be given a new display name. All items are given the same name.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int RenameItems(
	IEnumerable<string> paths,
	string newName,
	bool throwOnError = true
)

Parameters

paths
Type: System.Collections.GenericIEnumerableString
The items paths.
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
ArgumentNullExceptionnewName is null.
See Also