Click or drag to resize

Folder.DesktopParseDisplayName Method (IBindCtx, String, ShellItemIdList, SFGAO, Boolean)

Translates the display name of a file object or a folder into a PIDL.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int DesktopParseDisplayName(
	IBindCtx bindContext,
	string displayName,
	out ShellItemIdList relativeIdList,
	ref SFGAO attributes,
	bool throwOnError = true
)

Parameters

bindContext
Type: System.Runtime.InteropServices.ComTypes.IBindCtx
An optional bind context used to pass parameters as inputs and outputs to the parsing function.
displayName
Type: System.String
A string with the display name.
relativeIdList
Type: callback.ShellBoost.Core.ShellItemIdList
The PIDL for the object.
attributes
Type: callback.ShellBoost.Core.WindowsShell.SFGAO
To query for one or more attributes, initialize this parameter with the SFGAO flags that represent the attributes of interest. On return, those attributes that are true and were requested will be set.
throwOnError (Optional)
Type: System.Boolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
See Also