Click or drag to resize

Item.FromClsid Method

Gets an Item 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 Item FromClsid(
	Guid clsid,
	bool noFolder = false,
	CLSCTX context = CLSCTX.CLSCTX_ALL,
	bool throwOnError = true
)

Parameters

clsid
Type: System.Guid
The COM object class identifier.
noFolder (Optional)
Type: System.Boolean
if set to true the method will never return a Folder instance.
context (Optional)
Type: callback.ShellBoost.Core.WindowsShell.CLSCTX
The context.
throwOnError (Optional)
Type: System.Boolean
if set to true errors may be throw.

Return Value

Type: Item
An Item instance or null.
See Also