|
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
)
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
Request Example
View SourceParameters
- 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:
Booleantrue if this converter can perform the conversion; otherwise, false.
See Also