Click or drag to resize

ShellFolderTryGetAttributes Method

Gets the attributes 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, TryGetDisplayName 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 TryGetAttributes(
	ShellItemIdList relativeIdList,
	out SFGAO attributes
)

Parameters

relativeIdList
Type: ShellBoost.CoreShellItemIdList
The relative PIDL.
attributes
Type: ShellBoost.Core.WindowsShellSFGAO
The attributes.

Return Value

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