Click or drag to resize

CoreShellFolderSetNameOf Method (IWithIdList, String, SHGDNF, Boolean)

Sets the display name of a file object or subfolder, changing the item identifier in the process.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public ShellItemIdList SetNameOf(
	IWithIdList idList,
	string name,
	SHGDNF flags = SHGDNF.SHGDN_NORMAL,
	bool throwOnError = true
)

Parameters

idList
Type: callback.ShellBoost.CoreIWithIdList
The identifier list.
name
Type: SystemString
The new display name.
flags (Optional)
Type: callback.ShellBoost.Core.WindowsShellSHGDNF
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: ShellItemIdList
The identifier list of the renamed item.
See Also