Click or drag to resize

CoreShellFolderCreateViewObjectT Method (IntPtr, Boolean)

Requests an object that can be used to obtain information from or interact with a folder object.

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

Parameters

hwnd
Type: SystemIntPtr
A handle to the owner window. If you have implemented a custom folder view object, your folder view window should be created as a child of this handle.
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