Click or drag to resize

ExtensionsAddCF_HDROP Method

Adds a CF_HDROP format to the data object.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static void AddCF_HDROP(
	this IDataObjectFormats formats,
	IEnumerable<string> strings,
	POINT? point = null,
	bool pointInNonClientArea = false
)

Parameters

formats
Type: callback.ShellBoost.CoreIDataObjectFormats
The formats.
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.

Return Value

Type: 
0 or an error code.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataObjectFormats. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptiondataObject is null.
See Also