Input for WinForms | ComponentOne
C1.Win.SuperTooltip Namespace / ImageEntryTypeConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
The context.
The data type.

In This Topic
    CanConvertTo(ITypeDescriptorContext,Type) Method
    In This Topic
    Returns a value that indicates whether the object can be converted to a specified data type.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CanConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal destType As Type _
    ) As Boolean
    public override bool CanConvertTo( 
       ITypeDescriptorContext context,
       Type destType
    )

    Parameters

    context
    The context.
    destType
    The data type.

    Return Value

    True if the conversion is supported, false otherwise.
    See Also