Click or drag to resize

CoreShellFolderBindToStorageT Method (IntPtr, IBindCtx, Boolean)

Requests a pointer to an object's storage interface.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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