Click or drag to resize

CoreShellFolderBindToStorageT Method (IntPtr, IBindCtx, Boolean)

Requests a pointer to an object's storage interface.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public T BindToStorage<T>(
	IntPtr pidl,
	IBindCtx context = null,
	bool throwOnError = true
)
where T : class

Parameters

pidl
Type: SystemIntPtr
The PIDL.
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.

Type Parameters

T
The expected type of the returned object.

Return Value

Type: T
The object requested or null.
See Also