Click or drag to resize

ShellDataObjectFormatGetCFSTR_FILECONTENTS Method

Gets the CFSTR_FILEDESCRIPTOR and CFSTR_FILECONTENTS from an IDataObject.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IReadOnlyList<FileStreamDescriptor> GetCFSTR_FILECONTENTS(
	Object dataObject,
	bool useChunkedMemoryStream = true,
	bool throwOnError = true
)

Parameters

dataObject
Type: SystemObject
The data object.
useChunkedMemoryStream (Optional)
Type: SystemBoolean
if set to true use the ChunkedMemoryStream class instead of the MemoryStream class.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: IReadOnlyListFileStreamDescriptor
A list of FileStreamDescriptor.
Exceptions
ExceptionCondition
ArgumentExceptiondataObject is null or invalid.
See Also