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

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)
Visual Basic
Public Overrides Function CanConvertTo ( 
	context As ITypeDescriptorContext,
	destinationType As Type
) As Boolean
Visual C++
public:
virtual bool CanConvertTo(
	ITypeDescriptorContext^ context, 
	Type^ destinationType
) override
F#
abstract CanConvertTo : 
        context : ITypeDescriptorContext * 
        destinationType : Type -> bool 
override CanConvertTo : 
        context : ITypeDescriptorContext * 
        destinationType : Type -> bool 

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
destinationType
Type: System..::..Type
A System.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