Click or drag to resize

ShellUtilitiesCreateDataObject Method (IEnumerableString, Boolean)

Creates a data object from a list of paths.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IDataObject CreateDataObject(
	IEnumerable<string> paths,
	bool throwOnError = true
)

Parameters

paths
Type: System.Collections.GenericIEnumerableString
The paths.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

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