Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / CellRangeConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
Data type descriptor context
Destination data type


In This Topic
    CanConvertTo(ITypeDescriptorContext,Type) Method
    In This Topic
    Determines if the data type of the cell range can be converted to the specified destination data.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function CanConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal destinationType As Type _
    ) As Boolean
    'Usage
     
    
    Dim instance As CellRangeConverter
    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
    Data type descriptor context
    destinationType
    Destination data type
    See Also