VersionConverterCanConvertTo Method
Returns whether this converter can convert the object to the specified type, using the specified context.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public override bool CanConvertTo(
ITypeDescriptorContext? context,
Type? destinationType
)
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
- 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.
Boolean if this converter can perform the conversion; otherwise,
.