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:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public virtual bool TryGetAttributes(
	ShellItemIdList relativeIdList,
	out SFGAO attributes
)

Parameters

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

Return Value

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