Click or drag to resize

ShellDataObjectFormatParseDataUsingKnownFormatsT Method

Try to parse a clipboard data using known formats.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static T ParseDataUsingKnownFormats<T>(
	string name,
	Object data,
	T defaultValue = null
)

Parameters

name
Type: SystemString
The format name.
data
Type: SystemObject
The data object. Currently supports byte array and stream types.
defaultValue (Optional)
Type: T
The default value if the format doesn't exist or a conversion error occurred.

Type Parameters

T
The data expected type.

Return Value

Type: T
true if the data was parsed; otherwise false.
See Also