Click or drag to resize

CoreShellFolderBindToObject Method (IntPtr, Guid, IBindCtx, Boolean)

Retrieves a handler, typically the Shell folder object that implements IShellFolder for a particular item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public Object BindToObject(
	IntPtr pidl,
	Guid iid,
	IBindCtx context = null,
	bool throwOnError = true
)

Parameters

pidl
Type: SystemIntPtr
The PIDL.
iid
Type: SystemGuid
A reference to the IID of the interface to retrieve.
context (Optional)
Type: System.Runtime.InteropServices.ComTypesIBindCtx
An optional bind context object to be used during this operation.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Object
The object requested or null.
See Also