ItemFromDataObject Method |
Gets an Item instance from a data object.
Only supported on Windows 7 and higher.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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: 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