Click or drag to resize

ShellUtilitiesCreateDataObject Method (IEnumerableShellItemIdList, Boolean)

Creates a data object from a list of pidls.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IDataObject CreateDataObject(
	IEnumerable<ShellItemIdList> idLists,
	bool throwOnError = true
)

Parameters

idLists
Type: System.Collections.GenericIEnumerableShellItemIdList
The pidls.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

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