OnDemandLocalFileSystemEntryRename 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.Synchronization
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax protected override void EntryRename(
string path,
string newName,
bool throwOnError = true
)
Parameters
- path
- Type: SystemString
The path of the entry to rename. - 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.
See Also