Spread Windows Forms 17
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcErrorConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
ITypeDescriptorContext
Type


In This Topic
    CanConvertTo(ITypeDescriptorContext,Type) Method
    In This Topic
    Determines whether a CalcError object can be converted to the specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CanConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal destinationType As Type _
    ) As Boolean
    'Usage
     
    
    Dim instance As CalcErrorConverter
    Dim context As ITypeDescriptorContext
    Dim destinationType As Type
    Dim value As Boolean
     
    value = instance.CanConvertTo(context, destinationType)
    public override bool CanConvertTo( 
       ITypeDescriptorContext context,
       Type destinationType
    )

    Parameters

    context
    ITypeDescriptorContext
    destinationType
    Type

    Return Value

    True if a CalcError object can be converted to the specified type; false otherwise
    See Also