Click or drag to resize

ShellDataObjectFormatSetCFSTR_SHELLIDLIST Method

Sets the CFSTR_SHELLIDLIST format to an IDataObject.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int SetCFSTR_SHELLIDLIST(
	Object dataObject,
	IEnumerable<IWithIdList> idLists,
	bool throwOnError = true
)

Parameters

dataObject
Type: SystemObject
The data object.
idLists
Type: System.Collections.GenericIEnumerableIWithIdList
The list of PIDLs. These PIDLs must have the same parent folder (it can be the desktop folder).
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
0 or an error code.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataObject is null.
See Also