Click or drag to resize

CoreShellFolderFromClsid Method

Gets a Folder instance from a native COM object.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static CoreShellFolder FromClsid(
	Guid clsid,
	CLSCTX context = CLSCTX.CLSCTX_ALL,
	bool throwOnError = true
)

Parameters

clsid
Type: SystemGuid
The COM object class identifier.
context (Optional)
Type: callback.ShellBoost.Core.WindowsShellCLSCTX
The context.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw.

Return Value

Type: CoreShellFolder
An Item instance or null.
See Also