Click or drag to resize

ShellDataObjectFormatSetCF_HDROP Method

Sets the CF_HDROP format to an IDataObject.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int SetCF_HDROP(
	Object dataObject,
	IEnumerable<string> strings,
	POINT? point = null,
	bool pointInNonClientArea = false,
	bool throwOnError = true
)

Parameters

dataObject
Type: SystemObject
The data object.
strings
Type: System.Collections.GenericIEnumerableString
A list of strings.
point (Optional)
Type: SystemNullablePOINT
An optional point.
pointInNonClientArea (Optional)
Type: SystemBoolean
If set to true, point specifies the screen coordinates of a point in a window's nonclient area. If set to vale, point specifies the client coordinates of a point in the client area.
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