Click or drag to resize

FileSystemEntryRenameById Method

Renames an entry using its 128-bit identifier. It can also be used to move a file if the newName parameter is set to a full file path. Note this method cannot move from a volume to another.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool RenameById(
	string volumeGuid,
	Guid id,
	string newName,
	bool throwOnError = true
)

Parameters

volumeGuid
Type: SystemString
The volume Guid.
id
Type: SystemGuid
The entry identifier.
newName
Type: SystemString
The new name. It can be a file name, or a full rooted path.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: Boolean
true if the operation succeeded; otherwise false.
See Also