Click or drag to resize
Accord.NET (logo)

RationalConverterCanConvertTo Method (ITypeDescriptorContext, Type)

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

Namespace:  Accord.Math.Converters
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)
Request Example View Source

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType
Type: SystemType
A Type that represents the type you want to convert to.

Return Value

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