Click or drag to resize

ItemFromDataObject Method

Gets an Item instance from a data object. Only supported on Windows 7 and higher.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Item FromDataObject(
	Object dataObject,
	DATAOBJ_GET_ITEM_FLAGS options = DATAOBJ_GET_ITEM_FLAGS.DOGIF_DEFAULT,
	bool noFolder = false
)

Parameters

dataObject
Type: SystemObject
An IDataObject instance.
options (Optional)
Type: callback.ShellBoost.Core.WindowsShellDATAOBJ_GET_ITEM_FLAGS
The options.
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