Click or drag to resize

ShellDataObjectFormatGetBytes Method (Object, String, NullableInt32, Boolean)

Gets bytes from an IDataObject.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static byte[] GetBytes(
	Object dataObject,
	string format,
	int? index = null,
	bool throwOnError = true
)

Parameters

dataObject
Type: SystemObject
The data object.
format
Type: SystemString
The format.
index (Optional)
Type: SystemNullableInt32
An optional index filter.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Byte
0 or an error code.
Exceptions
ExceptionCondition
ArgumentExceptiondataObject is null or invalid.
See Also