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:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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