Click or drag to resize

ShellFolderTryParseItem Method

Parses a display name for a Shell Item that may not exist. This method is only implemented for file system Shell Items. It will use the CreateFileSystemItem and CreateFileSystemFolder that you can override if you want it to use your derived classes instead. If you override it, make sure you also override TryGetDisplayName, 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 TryParseItem(
	ShellBindContext context,
	string displayName,
	out int eatenCharacters,
	out SFGAO attributes,
	out ShellItemIdList relativeIdList
)

Parameters

context
Type: callback.ShellBoost.CoreShellBindContext
The context corresponding to the original IBindCxt interface.
displayName
Type: SystemString
The display name.
eatenCharacters
Type: SystemInt32
The number of characters of the display name that was parsed.
attributes
Type: callback.ShellBoost.Core.WindowsShellSFGAO
Attributes of the virtual item that was parsed.
relativeIdList
Type: callback.ShellBoost.CoreShellItemIdList
The relative PIDL.

Return Value

Type: Boolean
true if parsing was successful, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext or displayName is null.
See Also