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:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public virtual bool TryGetDisplayName(
	ShellItemIdList relativeIdList,
	SHGDNF designName,
	out string displayName
)

Parameters

relativeIdList
Type: ShellBoost.CoreShellItemIdList
The relative PIDL.
designName
Type: 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