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:
ShellBoost.Core
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public virtual bool TryParseItem(
ShellBindContext context,
string displayName,
out int eatenCharacters,
out SFGAO attributes,
out ShellItemIdList relativeIdList
)
Parameters
- context
- Type: 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: ShellBoost.Core.WindowsShellSFGAO
Attributes of the virtual item that was parsed. - relativeIdList
- Type: ShellBoost.CoreShellItemIdList
The relative PIDL.
Return Value
Type:
Booleantrue if parsing was successful,
false otherwise.
Exceptions See Also