ComponentOne Reports for WPF
C1.C1Preview Namespace / Tag.TagConverter Class / CanConvertTo Method / CanConvertTo(ITypeDescriptorContext,Type) Method
An ITypeDescriptorContext that provides a format context.
The target type.

In This Topic
    CanConvertTo(ITypeDescriptorContext,Type) Method
    In This Topic
    Tests whether this converter can convert the object to the specified type.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function CanConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal type As Type _
    ) As Boolean
    public override bool CanConvertTo( 
       ITypeDescriptorContext context,
       Type type
    )

    Parameters

    context
    An ITypeDescriptorContext that provides a format context.
    type
    The target type.

    Return Value

    true if the conversion can be performed, false otherwise.
    See Also