Click or drag to resize

ShellFolderTryGetDisplayName Method

Gets the display name for a PIDL that may not represent an existing Shell Item. This method is only implemented for file system Shell Items with PIDLs created from the ShellItemIdList.FromFileSystem method. If you override it, make sure you also override TryParseItem, TryGetAttributes and TryGetPropertyValue in a consistent manner.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public virtual bool TryGetDisplayName(
	ShellItemIdList relativeIdList,
	SHGDNF designName,
	out string displayName
)

Parameters

relativeIdList
Type: callback.ShellBoost.CoreShellItemIdList
The relative PIDL.
designName
Type: callback.ShellBoost.Core.WindowsShellSHGDNF
Options used to get the name.
displayName
Type: SystemString
The display name.

Return Value

Type: Boolean
The display name or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionrelativeIdList is null.
See Also