Click or drag to resize

CoreShellFolderGetUIObjectOfT Method (IntPtr, IEnumerableIntPtr, Boolean)

Gets an object that can be used to carry out actions on the specified file objects or folders.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public T GetUIObjectOf<T>(
	IntPtr hwnd,
	IEnumerable<IntPtr> pidls,
	bool throwOnError = true
)
where T : class

Parameters

hwnd
Type: SystemIntPtr
A handle to the owner window that the client should specify if it displays a dialog box or message box.
pidls
Type: System.Collections.GenericIEnumerableIntPtr
A list of PIDLs.
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