Click or drag to resize

ShellUtilitiesCreateDataObject Method (IntPtr, Boolean)

Creates a data object from a pidl.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IDataObject CreateDataObject(
	IntPtr pidl,
	bool throwOnError = true
)

Parameters

pidl
Type: SystemIntPtr
The pidl.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: IDataObject
An instance of the IDataObject interface or null.
Exceptions
ExceptionCondition
ArgumentExceptionpidl is IntPtr.Zero.
See Also