VersionConverterCanConvertTo Method

Returns whether this converter can convert the object to the specified type, using the specified context.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public override bool CanConvertTo(
	ITypeDescriptorContext? context,
	Type? destinationType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context. In this converter this parameter is ignored.
destinationType  Type
A Type that represents the type you want to convert to. This type converter supports String type only.

Return Value

Boolean
if this converter can perform the conversion; otherwise, .

See Also