Click or drag to resize

FileOperationRenameItems Method (IEnumerableShellItemIdList, String, Boolean)

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

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

Parameters

idls
Type: System.Collections.GenericIEnumerableShellItemIdList
The items PIDLS.
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