Click or drag to resize

ItemFromNativeObject 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 FromNativeObject(
	Object obj,
	bool noFolder = false
)

Parameters

obj
Type: SystemObject
The COM object.
noFolder (Optional)
Type: SystemBoolean
if set to true the method will never return a Folder instance.

Return Value

Type: Item
An Item instance or null.
See Also