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:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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