Click or drag to resize

ShellDataObjectFormatParseDataUsingKnownFormatsT Method

Try to parse a clipboard data using known formats.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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