FileOperationRenameItem Method (ShellItemIdList, String, Boolean) |
Declares a single item that is to be given a new display name.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public int RenameItem(
ShellItemIdList idList,
string newName,
bool throwOnError = true
)
Parameters
- idList
- Type: ShellBoost.CoreShellItemIdList
The item PIDL. - 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:
Int32The result of Windows Shell last operation.
Exceptions See Also