Click or drag to resize

CoreShellFolderBindToObject Method (IWithIdList, Guid, IBindCtx, Boolean)

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

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Object BindToObject(
	IWithIdList idList,
	Guid iid,
	IBindCtx context = null,
	bool throwOnError = true
)

Parameters

idList
Type: ShellBoost.CoreIWithIdList
The identifier list.
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