Input for WinForms | ComponentOne
C1.Framework Namespace / CornersConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
The System.Globalization.CultureInfo into which value will be converted.
The System.Object to convert.
The System.Type to convert the value 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 culture As CultureInfo, _
       ByVal value As Object, _
       ByVal destinationType As Type _
    ) As Object

    Parameters

    context
    An System.ComponentModel.ITypeDescriptorContext that provides a format context.
    culture
    The System.Globalization.CultureInfo into which value will be converted.
    value
    The System.Object to convert.
    destinationType
    The System.Type to convert the value to.

    Return Value

    An System.Object that represents the converted value.
    See Also