KGy SOFT

StringSegmentConverterCanConvertTo Method

KGy SOFT Core Libraries Help
Returns whether this converter can convert the object to the specified type, using the specified context.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

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

Return Value

Type: Boolean
 if this converter can perform the conversion; otherwise, .
See Also

Reference