Click or drag to resize

CoreShellFolderGetDisplayNameOf Method (IntPtr, SHGDNF, Boolean)

Retrieves the display name for the specified file object or subfolder.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public string GetDisplayNameOf(
	IntPtr pidl,
	SHGDNF flags = SHGDNF.SHGDN_NORMAL,
	bool throwOnError = true
)

Parameters

pidl
Type: SystemIntPtr
The PIDL.
flags (Optional)
Type: ShellBoost.Core.WindowsShellSHGDNF
The options.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: String
The display name.
See Also