Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule 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
    '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 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