Click or drag to resize

IDataObjectGetDataPresent(String, Boolean) Method

Checks to see whether the data is available in, or can be converted to, a specified format. A Boolean flag indicates whether to check if the data can be converted to the specified format, if it is not available in that format.

Namespace: Altaxo.Serialization.Clipboard
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
bool GetDataPresent(
	string format,
	bool autoConvert
)

Parameters

format  String
A string that specifies what format to check for. See the DataFormats class for a set of pre-defined data formats.
autoConvert  Boolean
false to only check for the specified format; true to also check whether or not data stored in this data object can be converted to the specified format.

Return Value

Boolean
true if the data is in, or can be converted to, the specified format; otherwise, false.
See Also