Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1Command.TypeConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An ITypeDescriptorContext that provides a format context.
A CultureInfo object.
The Object to convert.
The Type to convert the value parameter to.

In This Topic
    ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
    In This Topic
    Converts the given value object to the specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function ConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal cinfo As CultureInfo, _
       ByVal o As Object, _
       ByVal type As Type _
    ) As Object

    Parameters

    context
    An ITypeDescriptorContext that provides a format context.
    cinfo
    A CultureInfo object.
    o
    The Object to convert.
    type
    The Type to convert the value parameter to.
    See Also