MAUI | ComponentOne
C1.Maui.Calendar Assembly / C1.Maui.Calendar Namespace / ObservableCollectionStringConverter Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
The System.Globalization.CultureInfo to use as the current culture.
The System.Object to convert.
A System.Type that represents the type you want to convert to.
In This Topic
    ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
    In This Topic
    Converts the given value object to the specified type, using the specified context and culture information.
    Syntax

    Parameters

    context
    An System.ComponentModel.ITypeDescriptorContext that provides a format context.
    culture
    The System.Globalization.CultureInfo to use as the current culture.
    value
    The System.Object to convert.
    destinationType
    A System.Type that represents the type you want to convert to.

    Return Value

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